#CD7CF8#CD7CF8

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

Color values

HEX#CD7CF8
RGBrgb(205, 124, 248)
HSLhsl(279, 90%, 73%)
HSVhsv(279, 50%, 97%)
CMYKcmyk(17.3%, 50%, 0%, 2.7%)
CIE-LABlab(65.10, 52.24, -49.79)
CIE-LCHlch(65.10, 72.16, 316.37°)
OKLaboklab(72.09% 0.1282 -0.1389)
OKLCHoklch(72.09% 0.189 312.7)
XYZxyz(49.3249, 34.1729, 92.7864)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CF8 #A7F87C
analogous
#8F7CF8 #CD7CF8 #F87CE5
triadic
#CD7CF8 #F8CD7C #7CF8CD
tetradic
#CD7CF8 #F88F7C #A7F87C #7CE5F8
square
#CD7CF8 #F88F7C #A7F87C #7CE5F8
split-complementary
#CD7CF8 #E5F87C #7CF88F
monochromatic
#9F0DED #B742F5 #CD7CF8 #E3B6FB #F4E2FD

Accessibility & contrast

On white

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

On black

7.83
#CD7CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CF8
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CF8#FFFFFF#000000##000000
##CD7CF81.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFC
Deuteranopia (green-blind)
#77A0F5
Tritanopia (blue-blind)
#C990AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7cf8;
/* rgb */ color: rgb(205, 124, 248);
/* oklch */ color: oklch(72.1% 0.189 312.7);
Tailwind
colors: {
  custom: {
    50: '#dfa4fb',
    500: '#cd7cf8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cf8;
$custom-light: #dfa4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cf8",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 279.194,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72087,
    "c": 0.18903,
    "h": 312.7
  },
  "luminance": 0.34172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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