#CD91FC#CD91FC

#CD91FC is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.5% C 0.160 H 308.9°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#CD91FC
RGBrgb(205, 145, 252)
HSLhsl(274, 95%, 78%)
HSVhsv(274, 42%, 99%)
CMYKcmyk(18.7%, 42.5%, 0%, 1.2%)
CIE-LABlab(69.65, 42.01, -44.80)
CIE-LCHlch(69.65, 61.42, 313.16°)
OKLaboklab(75.55% 0.1003 -0.1245)
OKLCHoklch(75.55% 0.16 308.9)
XYZxyz(52.8696, 40.2589, 97.0621)
Luminance0.4026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91FC #C0FC91
analogous
#9791FC #CD91FC #FC91F5
triadic
#CD91FC #FCCD91 #91FCCD
tetradic
#CD91FC #FC9791 #C0FC91 #91F5FC
square
#CD91FC #FC9791 #C0FC91 #91F5FC
split-complementary
#CD91FC #F5FC91 #91FC97
monochromatic
#971AF9 #B255FA #CD91FC #E8CDFE #F1E1FE

Accessibility & contrast

On white

2.32
#CD91FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#CD91FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91FC
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91FC#FFFFFF#000000##000000
##CD91FC1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#88ABF9
Tritanopia (blue-blind)
#C7A2BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd91fc;
/* rgb */ color: rgb(205, 145, 252);
/* oklch */ color: oklch(75.5% 0.160 308.9);
Tailwind
colors: {
  custom: {
    50: '#deb2fe',
    500: '#cd91fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd91fc;
$custom-light: #deb2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91fc",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 273.645,
    "s": 94.69,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75546,
    "c": 0.15993,
    "h": 308.9
  },
  "luminance": 0.40258
}

Semantic roles & 50–950 ramp

primary
#CD91FC
secondary
#E3F6D5
accent
#E60065
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD91FC

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

Preview Lab → · Contrast checker → · Palette generator →

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