Skip to content

#997ddf

a light, vivid violet · cool · closest name: Medium Purple

RGB
153, 125, 223
HSL
257°, 61%, 68%
CMYK
31, 44, 0, 13
Luminance
0.2677

At a glance

Every number on this page in one read: what #997ddf is made of, how bright it looks, and which way it leans.

Hex
#997ddf
Hue
257°
violet
Saturation
61%
vivid
Lightness
68%
light
Brightness
87%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2677
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
6.35:1
Closest name
Medium Purple
ΔE2000 3.9
Where it sits
Hue257° of 360°
Saturation61%
Lightness68%
Temperature
Warm ← → Cool74% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#997ddf
RGBrgb(153, 125, 223)
HSLhsl(257, 61%, 68%)
CMYKcmyk(31%, 44%, 0%, 13%)
LABlab(58.8 32.0 -46.3)
LCHlch(58.8 56.3 304.6)
OKLCHoklch(0.657 0.144 295.3)
Decimal10059231
Display P3color(display-p3 0.600 0.490 0.875)

Copy-ready code

/* CSS */
color: #997ddf;
background-color: #997ddf;
/* Tailwind (arbitrary) */
class="text-[#997ddf] bg-[#997ddf]"
/* SCSS */
$brand: #997ddf;
/* SwiftUI */
Color(red: 0.600, green: 0.490, blue: 0.875)
/* Android */
Color.parseColor("#997ddf")
/* Flutter */
Color(0xFF997DDF)
/* Python / OpenCV (BGR) */
(223, 125, 153)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #997ddf · 6.35:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.31:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.35:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #997ddf as text scores 3.31:1 on white and 6.35:1 on black.

Accessibility — WCAG contrast

Aa
#997ddf on white: 3.31:1
AA ✗ fail · AA-large · AAA
Aa
#997ddf on black: 6.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5F8EE3
deuteranopia · #638CDD
tritanopia · #8A8FA3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #997ddf is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F6F4FB
#EDE8F7
#D6CCEF
#B8A5E9
#997ddf
#724BD3
#5B30C4
#4B28A4
#3C2083
#2F1B5F
#1D113C
Base = 400Lightest = 50 · #F6F4FBDarkest = 950 · #1D113C
:root {
  --brand-50: #F6F4FB;
  --brand-100: #EDE8F7;
  --brand-200: #D6CCEF;
  --brand-300: #B8A5E9;
  --brand-400: #997ddf;
  --brand-500: #724BD3;
  --brand-600: #5B30C4;
  --brand-700: #4B28A4;
  --brand-800: #3C2083;
  --brand-900: #2F1B5F;
  --brand-950: #1D113C;
  --brand: #997ddf;
  --brand-ink: #000000;
}

Colors that work with #997ddf

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F6F4FA
Tinted page background
Border#CDC0ED
Hairlines and dividers
Muted text#614B9B
Captions on the surface
Accent#A4A725
Second voice, not a rival
Dark variant#2F1966
Hover, pressed, headers
Light variant#EFEBFA
Selected rows, tints
Dark surface#181424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #997ddf

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#C3DF7D
Analogous left#7D92DF
Analogous right#CA7DDF
Split-complement 1#DFCA7D
Split-complement 2#92DF7D
Triadic 1#DF997D
Triadic 2#7DDF99
Tetradic#DF7D92

RGB percentages

Red60.0%
Green49.0%
Blue87.5%

CMYK percentages

Cyan31.4%
Magenta43.9%
Yellow0.0%
Key (black)12.5%

Color previews

#997ddf text on a black background

contrast 6.35:1

Card sample

#997ddf text on a white background

contrast 3.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #997ddf;
Background color
Panel with #997ddf background
background-color: #997ddf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #997ddf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(153, 125, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(153, 125, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #997ddf;
background: linear-gradient(135deg, #997ddf, #DA7DDF);

Monochromatic scale

Palettes built from #997ddf

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#997ddf in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#997ddf, answered

What color is #997ddf?

#997ddf is a light vivid violet, closest to Medium Purple (ΔE2000 3.9). It sits at 257° on the hue wheel with 61% saturation and 68% lightness, which reads as cool.

What is the RGB value of #997ddf?

rgb(153, 125, 223) — 153 red, 125 green and 223 blue out of 255, or 60% / 49% / 87.5% by channel.

Is #997ddf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2677 and perceived brightness is 58%, so black text on it reaches 6.35:1.

Should I use black or white text on #997ddf?

Black. It scores 6.35:1 against #997ddf, versus 3.31:1 for white — AA at any size.

What is the complementary color of #997ddf?

#C3DF7D sits directly opposite on the wheel. Softer options are the split-complements #DFCA7D and #92DF7D, which give the same contrast with far less vibration.

What colors go well with #997ddf?

For interface work: #F6F4FA as the surface, #CDC0ED for borders, #614B9B for secondary text, #A4A725 as an accent and #2F1966 for hover and pressed states. For a palette, the analogous pair #7D92DF and #CA7DDF stays calm, while #C3DF7D is the loudest partner.

What is #997ddf in CMYK for printing?

cmyk(31%, 44%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #997ddf warm or cool?

Cool — it scores 74 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BD7DDF; nudged cooler, #7B84E1.

Work with #997ddf in the Color Lab