#CD91F9#CD91F9

#CD91F9 is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.4% C 0.156 H 309.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#CD91F9
RGBrgb(205, 145, 249)
HSLhsl(275, 90%, 77%)
HSVhsv(275, 42%, 98%)
CMYKcmyk(17.7%, 41.8%, 0%, 2.4%)
CIE-LABlab(69.52, 41.36, -43.38)
CIE-LCHlch(69.52, 59.94, 313.64°)
OKLaboklab(75.4% 0.0998 -0.1204)
OKLCHoklch(75.4% 0.156 309.7)
XYZxyz(52.3980, 40.0702, 94.5782)
Luminance0.4007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91F9 #BDF991
analogous
#9991F9 #CD91F9 #F991F1
triadic
#CD91F9 #F9CD91 #91F9CD
tetradic
#CD91F9 #F99991 #BDF991 #91F1F9
square
#CD91F9 #F99991 #BDF991 #91F1F9
split-complementary
#CD91F9 #F1F991 #91F999
monochromatic
#981DF3 #B357F6 #CD91F9 #E7CBFC #F2E2FD

Accessibility & contrast

On white

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

On black

9.01
#CD91F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91F9
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91F9#FFFFFF#000000##000000
##CD91F91.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FD
Deuteranopia (green-blind)
#89ABF6
Tritanopia (blue-blind)
#C8A1B9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd91f9;
/* rgb */ color: rgb(205, 145, 249);
/* oklch */ color: oklch(75.4% 0.156 309.7);
Tailwind
colors: {
  custom: {
    50: '#deb2fb',
    500: '#cd91f9',
    950: '#000000',
  },
}
SCSS
$custom: #cd91f9;
$custom-light: #deb2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91f9",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 249
  },
  "hsl": {
    "h": 274.615,
    "s": 89.655,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75401,
    "c": 0.15641,
    "h": 309.7
  },
  "luminance": 0.40069
}

Semantic roles & 50–950 ramp

primary
#CD91F9
secondary
#E3F6D5
accent
#E60061
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD91F9

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

Preview Lab → · Contrast checker → · Palette generator →

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