#CD91FE#CD91FE

#CD91FE is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.6% C 0.162 H 308.3°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#CD91FE
RGBrgb(205, 145, 254)
HSLhsl(273, 98%, 78%)
HSVhsv(273, 43%, 100%)
CMYKcmyk(19.3%, 42.9%, 0%, 0.4%)
CIE-LABlab(69.74, 42.44, -45.75)
CIE-LCHlch(69.74, 62.41, 312.85°)
OKLaboklab(75.64% 0.1007 -0.1273)
OKLCHoklch(75.64% 0.162 308.3)
XYZxyz(53.1882, 40.3863, 98.7401)
Luminance0.4039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91FE #C2FE91
analogous
#9691FE #CD91FE #FE91F8
triadic
#CD91FE #FECD91 #91FECD
tetradic
#CD91FE #FE9691 #C2FE91 #91F8FE
square
#CD91FE #FE9691 #C2FE91 #91F8FE
split-complementary
#CD91FE #F8FE91 #91FE96
monochromatic
#9618FD #B154FD #CD91FE #E9CEFF #F1E1FF

Accessibility & contrast

On white

2.31
#CD91FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#CD91FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91FE
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91FE#FFFFFF#000000##000000
##CD91FE1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#87ABFB
Tritanopia (blue-blind)
#C6A2BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd91fe;
/* rgb */ color: rgb(205, 145, 254);
/* oklch */ color: oklch(75.6% 0.162 308.3);
Tailwind
colors: {
  custom: {
    50: '#deb2ff',
    500: '#cd91fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd91fe;
$custom-light: #deb2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91fe",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 254
  },
  "hsl": {
    "h": 273.028,
    "s": 98.198,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75643,
    "c": 0.16227,
    "h": 308.3
  },
  "luminance": 0.40386
}

Semantic roles & 50–950 ramp

primary
#CD91FE
secondary
#E4F7D4
accent
#E60067
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD91FE

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

Preview Lab → · Contrast checker → · Palette generator →

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