#CD8CF9#CD8CF9

#CD8CF9 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.6% C 0.165 H 310.4°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CD8CF9
RGBrgb(205, 140, 249)
HSLhsl(276, 90%, 76%)
HSVhsv(276, 44%, 98%)
CMYKcmyk(17.7%, 43.8%, 0%, 2.4%)
CIE-LABlab(68.44, 44.04, -45.07)
CIE-LCHlch(68.44, 63.02, 314.34°)
OKLaboklab(74.59% 0.1067 -0.1253)
OKLCHoklch(74.59% 0.165 310.4)
XYZxyz(51.6507, 38.5757, 94.3291)
Luminance0.3857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CF9 #B8F98C
analogous
#978CF9 #CD8CF9 #F98CEF
triadic
#CD8CF9 #F9CD8C #8CF9CD
tetradic
#CD8CF9 #F9978C #B8F98C #8CEFF9
square
#CD8CF9 #F9978C #B8F98C #8CEFF9
split-complementary
#CD8CF9 #EFF98C #8CF997
monochromatic
#9A18F3 #B452F6 #CD8CF9 #E6C6FC #F2E2FD

Accessibility & contrast

On white

2.41
#CD8CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#CD8CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CF9
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CF9#FFFFFF#000000##000000
##CD8CF91.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FD
Deuteranopia (green-blind)
#85A8F6
Tritanopia (blue-blind)
#C89DB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8cf9;
/* rgb */ color: rgb(205, 140, 249);
/* oklch */ color: oklch(74.6% 0.165 310.4);
Tailwind
colors: {
  custom: {
    50: '#deaffb',
    500: '#cd8cf9',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cf9;
$custom-light: #deaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cf9",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 275.78,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74593,
    "c": 0.16457,
    "h": 310.4
  },
  "luminance": 0.38575
}

Semantic roles & 50–950 ramp

primary
#CD8CF9
secondary
#E2F6D5
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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