#CD8CFF#CD8CFF

#CD8CFF is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.9% C 0.171 H 308.9°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#CD8CFF
RGBrgb(205, 140, 255)
HSLhsl(274, 100%, 77%)
HSVhsv(274, 45%, 100%)
CMYKcmyk(19.6%, 45.1%, 0%, 0%)
CIE-LABlab(68.72, 45.34, -47.91)
CIE-LCHlch(68.72, 65.96, 313.42°)
OKLaboklab(74.89% 0.1076 -0.1335)
OKLCHoklch(74.89% 0.171 308.9)
XYZxyz(52.6015, 38.9560, 99.3366)
Luminance0.3896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CFF #BEFF8C
analogous
#948CFF #CD8CFF #FF8CF8
triadic
#CD8CFF #FFCD8C #8CFFCD
tetradic
#CD8CFF #FF948C #BEFF8C #8CF8FF
square
#CD8CFF #FF948C #BEFF8C #8CF8FF
split-complementary
#CD8CFF #F8FF8C #8CFF94
monochromatic
#9812FF #B24FFF #CD8CFF #E8C9FF #F2E0FF

Accessibility & contrast

On white

2.39
#CD8CFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#CD8CFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CFF
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CFF#FFFFFF#000000##000000
##CD8CFF1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A5FF
Deuteranopia (green-blind)
#82A9FC
Tritanopia (blue-blind)
#C69EBA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd8cff;
/* rgb */ color: rgb(205, 140, 255);
/* oklch */ color: oklch(74.9% 0.171 308.9);
Tailwind
colors: {
  custom: {
    50: '#deafff',
    500: '#cd8cff',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cff;
$custom-light: #deafff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cff",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 255
  },
  "hsl": {
    "h": 273.913,
    "s": 100,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74891,
    "c": 0.17148,
    "h": 308.9
  },
  "luminance": 0.38955
}

Semantic roles & 50–950 ramp

primary
#CD8CFF
secondary
#E3F7D4
accent
#E60064
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD8CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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