#CD68E4#CD68E4

#CD68E4 is a light, vivid purple. Relative luminance 0.285; OKLCH L 68.2% C 0.200 H 319.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#CD68E4
RGBrgb(205, 104, 228)
HSLhsl(289, 70%, 65%)
HSVhsv(289, 54%, 89%)
CMYKcmyk(10.1%, 54.4%, 0%, 10.6%)
CIE-LABlab(60.32, 58.19, -46.25)
CIE-LCHlch(60.32, 74.33, 321.52°)
OKLaboklab(68.24% 0.1526 -0.1285)
OKLCHoklch(68.24% 0.2 319.9)
XYZxyz(44.1290, 28.4831, 76.5570)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD68E4 #7FE468
analogous
#8F68E4 #CD68E4 #E468BD
triadic
#CD68E4 #E4CD68 #68E4CD
tetradic
#CD68E4 #E48F68 #7FE468 #68BDE4
square
#CD68E4 #E48F68 #7FE468 #68BDE4
split-complementary
#CD68E4 #BDE468 #68E48F
monochromatic
#9720B2 #BC34DB #CD68E4 #DE9CED #EFD0F7

Accessibility & contrast

On white

3.14
#CD68E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#CD68E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD68E4
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD68E4#FFFFFF#000000##000000
##CD68E41.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#508AE8
Deuteranopia (green-blind)
#7195E1
Tritanopia (blue-blind)
#CE7A9C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cd68e4;
/* rgb */ color: rgb(205, 104, 228);
/* oklch */ color: oklch(68.2% 0.200 319.9);
Tailwind
colors: {
  custom: {
    50: '#df97ed',
    500: '#cd68e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd68e4;
$custom-light: #df97ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd68e4",
  "rgb": {
    "r": 205,
    "g": 104,
    "b": 228
  },
  "hsl": {
    "h": 288.871,
    "s": 69.663,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68244,
    "c": 0.1995,
    "h": 319.9
  },
  "luminance": 0.28481
}

Semantic roles & 50–950 ramp

primary
#CD68E4
secondary
#C7E9BF
accent
#D21437
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150E16
muted
#847E84

Preview Lab

Preview with #CD68E4

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

Preview Lab → · Contrast checker → · Palette generator →

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