#CD8FFC#CD8FFC

#CD8FFC is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.2% C 0.163 H 309.2°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#CD8FFC
RGBrgb(205, 143, 252)
HSLhsl(274, 95%, 77%)
HSVhsv(274, 43%, 99%)
CMYKcmyk(18.7%, 43.3%, 0%, 1.2%)
CIE-LABlab(69.22, 43.08, -45.48)
CIE-LCHlch(69.22, 62.65, 313.45°)
OKLaboklab(75.22% 0.1031 -0.1265)
OKLCHoklch(75.22% 0.163 309.2)
XYZxyz(52.5667, 39.6530, 96.9612)
Luminance0.3965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FFC #BEFC8F
analogous
#968FFC #CD8FFC #FC8FF5
triadic
#CD8FFC #FCCD8F #8FFCCD
tetradic
#CD8FFC #FC968F #BEFC8F #8FF5FC
square
#CD8FFC #FC968F #BEFC8F #8FF5FC
split-complementary
#CD8FFC #F5FC8F #8FFC96
monochromatic
#9818F9 #B253FA #CD8FFC #E8CBFE #F2E1FE

Accessibility & contrast

On white

2.35
#CD8FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#CD8FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FFC
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FFC#FFFFFF#000000##000000
##CD8FFC1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#86AAF9
Tritanopia (blue-blind)
#C7A0BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd8ffc;
/* rgb */ color: rgb(205, 143, 252);
/* oklch */ color: oklch(75.2% 0.163 309.2);
Tailwind
colors: {
  custom: {
    50: '#deb1fe',
    500: '#cd8ffc',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ffc;
$custom-light: #deb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ffc",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 274.128,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75222,
    "c": 0.16317,
    "h": 309.2
  },
  "luminance": 0.39652
}

Semantic roles & 50–950 ramp

primary
#CD8FFC
secondary
#E3F6D5
accent
#E60063
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD8FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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