#CD8CF0#CD8CF0

#CD8CF0 is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.2% C 0.154 H 313.0°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#CD8CF0
RGBrgb(205, 140, 240)
HSLhsl(279, 77%, 75%)
HSVhsv(279, 42%, 94%)
CMYKcmyk(14.6%, 41.7%, 0%, 5.9%)
CIE-LABlab(68.04, 42.14, -40.77)
CIE-LCHlch(68.04, 58.63, 315.94°)
OKLaboklab(74.16% 0.1052 -0.1129)
OKLCHoklch(74.16% 0.154 313)
XYZxyz(50.2805, 38.0276, 87.1125)
Luminance0.3803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CF0 #AFF08C
analogous
#9B8CF0 #CD8CF0 #F08CE1
triadic
#CD8CF0 #F0CD8C #8CF0CD
tetradic
#CD8CF0 #F09B8C #AFF08C #8CE1F0
square
#CD8CF0 #F09B8C #AFF08C #8CE1F0
split-complementary
#CD8CF0 #E1F08C #8CF09B
monochromatic
#9E20E2 #B556E9 #CD8CF0 #E5C2F7 #F3E4FB

Accessibility & contrast

On white

2.44
#CD8CF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#CD8CF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CF0
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CF0#FFFFFF#000000##000000
##CD8CF01.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A2F4
Deuteranopia (green-blind)
#89A7ED
Tritanopia (blue-blind)
#CA9AB3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8cf0;
/* rgb */ color: rgb(205, 140, 240);
/* oklch */ color: oklch(74.2% 0.154 313.0);
Tailwind
colors: {
  custom: {
    50: '#deaff5',
    500: '#cd8cf0',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cf0;
$custom-light: #deaff5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cf0",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 240
  },
  "hsl": {
    "h": 279,
    "s": 76.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7416,
    "c": 0.15429,
    "h": 313
  },
  "luminance": 0.38027
}

Semantic roles & 50–950 ramp

primary
#CD8CF0
secondary
#E1F3D8
accent
#D90C54
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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