#CD7CF6#CD7CF6

#CD7CF6 is a light, vivid violet. Relative luminance 0.340; OKLCH L 72.0% C 0.187 H 313.2°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#CD7CF6
RGBrgb(205, 124, 246)
HSLhsl(280, 87%, 73%)
HSVhsv(280, 50%, 96%)
CMYKcmyk(16.7%, 49.6%, 0%, 3.5%)
CIE-LABlab(65.00, 51.82, -48.84)
CIE-LCHlch(65.00, 71.21, 316.69°)
OKLaboklab(71.98% 0.128 -0.1361)
OKLCHoklch(71.98% 0.187 313.2)
XYZxyz(49.0162, 34.0494, 91.1610)
Luminance0.3405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CF6 #A5F67C
analogous
#907CF6 #CD7CF6 #F67CE2
triadic
#CD7CF6 #F6CD7C #7CF6CD
tetradic
#CD7CF6 #F6907C #A5F67C #7CE2F6
square
#CD7CF6 #F6907C #A5F67C #7CE2F6
split-complementary
#CD7CF6 #E2F67C #7CF690
monochromatic
#9F10E8 #B743F2 #CD7CF6 #E3B5FA #F4E2FD

Accessibility & contrast

On white

2.69
#CD7CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#CD7CF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CF6
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CF6#FFFFFF#000000##000000
##CD7CF61.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099FA
Deuteranopia (green-blind)
#78A0F3
Tritanopia (blue-blind)
#C98FAE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7cf6;
/* rgb */ color: rgb(205, 124, 246);
/* oklch */ color: oklch(72.0% 0.187 313.2);
Tailwind
colors: {
  custom: {
    50: '#dea4f9',
    500: '#cd7cf6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cf6;
$custom-light: #dea4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cf6",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 246
  },
  "hsl": {
    "h": 279.836,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71983,
    "c": 0.18687,
    "h": 313.2
  },
  "luminance": 0.34048
}

Semantic roles & 50–950 ramp

primary
#CD7CF6
secondary
#E0F5D6
accent
#E4024E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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