#CD8FEE#CD8FEE

#CD8FEE is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.6% C 0.147 H 313.2°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#CD8FEE
RGBrgb(205, 143, 238)
HSLhsl(279, 74%, 75%)
HSVhsv(279, 40%, 93%)
CMYKcmyk(13.9%, 39.9%, 0%, 6.7%)
CIE-LABlab(68.60, 40.10, -38.79)
CIE-LCHlch(68.60, 55.80, 315.95°)
OKLaboklab(74.56% 0.1006 -0.1072)
OKLCHoklch(74.56% 0.147 313.2)
XYZxyz(50.4294, 38.7981, 85.7046)
Luminance0.3880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FEE #B0EE8F
analogous
#9E8FEE #CD8FEE #EE8FDF
triadic
#CD8FEE #EECD8F #8FEECD
tetradic
#CD8FEE #EE9E8F #B0EE8F #8FDFEE
square
#CD8FEE #EE9E8F #B0EE8F #8FDFEE
split-complementary
#CD8FEE #DFEE8F #8FEE9E
monochromatic
#9E25DE #B55AE6 #CD8FEE #E5C4F6 #F3E4FB

Accessibility & contrast

On white

2.40
#CD8FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#CD8FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FEE
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FEE#FFFFFF#000000##000000
##CD8FEE1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA4F2
Deuteranopia (green-blind)
#8DA9EB
Tritanopia (blue-blind)
#CA9CB3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8fee;
/* rgb */ color: rgb(205, 143, 238);
/* oklch */ color: oklch(74.6% 0.147 313.2);
Tailwind
colors: {
  custom: {
    50: '#ddb1f4',
    500: '#cd8fee',
    950: '#000000',
  },
}
SCSS
$custom: #cd8fee;
$custom-light: #ddb1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8fee",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 279.158,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74556,
    "c": 0.147,
    "h": 313.2
  },
  "luminance": 0.38797
}

Semantic roles & 50–950 ramp

primary
#CD8FEE
secondary
#E1F3D8
accent
#D61055
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #CD8FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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