#CD7CEA#CD7CEA

#CD7CEA is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.4% C 0.174 H 316.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CD7CEA
RGBrgb(205, 124, 234)
HSLhsl(284, 72%, 70%)
HSVhsv(284, 47%, 92%)
CMYKcmyk(12.4%, 47%, 0%, 8.2%)
CIE-LABlab(64.43, 49.35, -43.12)
CIE-LCHlch(64.43, 65.53, 318.86°)
OKLaboklab(71.37% 0.1265 -0.1195)
OKLCHoklch(71.37% 0.174 316.6)
XYZxyz(47.2336, 33.3364, 81.7724)
Luminance0.3333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CEA #99EA7C
analogous
#967CEA #CD7CEA #EA7CD0
triadic
#CD7CEA #EACD7C #7CEACD
tetradic
#CD7CEA #EA967C #99EA7C #7CD0EA
square
#CD7CEA #EA967C #99EA7C #7CD0EA
split-complementary
#CD7CEA #D0EA7C #7CEA96
monochromatic
#9E21CB #B947E2 #CD7CEA #E1B1F2 #F5E5FB

Accessibility & contrast

On white

2.74
#CD7CEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#CD7CEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CEA
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CEA#FFFFFF#000000##000000
##CD7CEA1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EE
Deuteranopia (green-blind)
#7E9FE7
Tritanopia (blue-blind)
#CC8CA8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7cea;
/* rgb */ color: rgb(205, 124, 234);
/* oklch */ color: oklch(71.4% 0.174 316.6);
Tailwind
colors: {
  custom: {
    50: '#dea4f1',
    500: '#cd7cea',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cea;
$custom-light: #dea4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cea",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 234
  },
  "hsl": {
    "h": 284.182,
    "s": 72.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71374,
    "c": 0.17406,
    "h": 316.6
  },
  "luminance": 0.33335
}

Semantic roles & 50–950 ramp

primary
#CD7CEA
secondary
#DAF0D2
accent
#D41145
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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