#CD91FB#CD91FB

#CD91FB is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.5% C 0.159 H 309.1°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#CD91FB
RGBrgb(205, 145, 251)
HSLhsl(274, 93%, 78%)
HSVhsv(274, 42%, 98%)
CMYKcmyk(18.3%, 42.2%, 0%, 1.6%)
CIE-LABlab(69.61, 41.79, -44.33)
CIE-LCHlch(69.61, 60.92, 313.31°)
OKLaboklab(75.5% 0.1002 -0.1232)
OKLCHoklch(75.5% 0.159 309.1)
XYZxyz(52.7116, 40.1957, 96.2298)
Luminance0.4019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91FB #BFFB91
analogous
#9891FB #CD91FB #FB91F4
triadic
#CD91FB #FBCD91 #91FBCD
tetradic
#CD91FB #FB9891 #BFFB91 #91F4FB
square
#CD91FB #FB9891 #BFFB91 #91F4FB
split-complementary
#CD91FB #F4FB91 #91FB98
monochromatic
#971BF7 #B256F9 #CD91FB #E8CCFD #F2E1FE

Accessibility & contrast

On white

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

On black

9.04
#CD91FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91FB
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91FB#FFFFFF#000000##000000
##CD91FB1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FF
Deuteranopia (green-blind)
#88ABF8
Tritanopia (blue-blind)
#C7A1BA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd91fb;
/* rgb */ color: rgb(205, 145, 251);
/* oklch */ color: oklch(75.5% 0.159 309.1);
Tailwind
colors: {
  custom: {
    50: '#deb2fd',
    500: '#cd91fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd91fb;
$custom-light: #deb2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91fb",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 273.962,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75497,
    "c": 0.15875,
    "h": 309.1
  },
  "luminance": 0.40195
}

Semantic roles & 50–950 ramp

primary
#CD91FB
secondary
#E3F6D5
accent
#E60064
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD91FB

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

Preview Lab → · Contrast checker → · Palette generator →

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