#CD91F8#CD91F8

#CD91F8 is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.4% C 0.155 H 309.9°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#CD91F8
RGBrgb(205, 145, 248)
HSLhsl(275, 88%, 77%)
HSVhsv(275, 42%, 97%)
CMYKcmyk(17.3%, 41.5%, 0%, 2.7%)
CIE-LABlab(69.48, 41.15, -42.90)
CIE-LCHlch(69.48, 59.44, 313.80°)
OKLaboklab(75.35% 0.0997 -0.119)
OKLCHoklch(75.35% 0.155 309.9)
XYZxyz(52.2424, 40.0080, 93.7589)
Luminance0.4001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91F8 #BCF891
analogous
#9A91F8 #CD91F8 #F891F0
triadic
#CD91F8 #F8CD91 #91F8CD
tetradic
#CD91F8 #F89A91 #BCF891 #91F0F8
square
#CD91F8 #F89A91 #BCF891 #91F0F8
split-complementary
#CD91F8 #F0F891 #91F89A
monochromatic
#991EF1 #B357F4 #CD91F8 #E7CBFC #F2E2FD

Accessibility & contrast

On white

2.33
#CD91F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#CD91F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91F8
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91F8#FFFFFF#000000##000000
##CD91F81.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FC
Deuteranopia (green-blind)
#8AABF5
Tritanopia (blue-blind)
#C8A1B9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd91f8;
/* rgb */ color: rgb(205, 145, 248);
/* oklch */ color: oklch(75.4% 0.155 309.9);
Tailwind
colors: {
  custom: {
    50: '#deb2fb',
    500: '#cd91f8',
    950: '#000000',
  },
}
SCSS
$custom: #cd91f8;
$custom-light: #deb2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91f8",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 248
  },
  "hsl": {
    "h": 274.951,
    "s": 88.034,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75353,
    "c": 0.15525,
    "h": 309.9
  },
  "luminance": 0.40007
}

Semantic roles & 50–950 ramp

primary
#CD91F8
secondary
#E3F5D6
accent
#E50160
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD91F8

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

Preview Lab → · Contrast checker → · Palette generator →

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