#CD7CF9#CD7CF9

#CD7CF9 is a light, vivid violet. Relative luminance 0.342; OKLCH L 72.1% C 0.190 H 312.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CD7CF9
RGBrgb(205, 124, 249)
HSLhsl(279, 91%, 73%)
HSVhsv(279, 50%, 98%)
CMYKcmyk(17.7%, 50.2%, 0%, 2.4%)
CIE-LABlab(65.15, 52.45, -50.26)
CIE-LCHlch(65.15, 72.64, 316.22°)
OKLaboklab(72.14% 0.1283 -0.1403)
OKLCHoklch(72.14% 0.19 312.5)
XYZxyz(49.4804, 34.2351, 93.6056)
Luminance0.3423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CF9 #A8F97C
analogous
#8E7CF9 #CD7CF9 #F97CE6
triadic
#CD7CF9 #F9CD7C #7CF9CD
tetradic
#CD7CF9 #F98E7C #A8F97C #7CE6F9
square
#CD7CF9 #F98E7C #A8F97C #7CE6F9
split-complementary
#CD7CF9 #E6F97C #7CF98E
monochromatic
#9F0BF0 #B741F6 #CD7CF9 #E3B7FC #F4E2FE

Accessibility & contrast

On white

2.68
#CD7CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#CD7CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CF9
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CF9#FFFFFF#000000##000000
##CD7CF91.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFD
Deuteranopia (green-blind)
#76A0F6
Tritanopia (blue-blind)
#C990AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7cf9;
/* rgb */ color: rgb(205, 124, 249);
/* oklch */ color: oklch(72.1% 0.190 312.5);
Tailwind
colors: {
  custom: {
    50: '#dfa4fc',
    500: '#cd7cf9',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cf9;
$custom-light: #dfa4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cf9",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 249
  },
  "hsl": {
    "h": 278.88,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7214,
    "c": 0.1901,
    "h": 312.5
  },
  "luminance": 0.34234
}

Semantic roles & 50–950 ramp

primary
#CD7CF9
secondary
#E1F6D5
accent
#E60051
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7CF9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CD7CF9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva