#CD91F3#CD91F3

#CD91F3 is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.1% C 0.149 H 311.4°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CD91F3
RGBrgb(205, 145, 243)
HSLhsl(277, 80%, 76%)
HSVhsv(277, 40%, 95%)
CMYKcmyk(15.6%, 40.3%, 0%, 4.7%)
CIE-LABlab(69.26, 40.08, -40.51)
CIE-LCHlch(69.26, 56.99, 314.69°)
OKLaboklab(75.12% 0.0987 -0.1122)
OKLCHoklch(75.12% 0.149 311.4)
XYZxyz(51.4771, 39.7019, 89.7281)
Luminance0.3970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91F3 #B7F391
analogous
#9C91F3 #CD91F3 #F391E8
triadic
#CD91F3 #F3CD91 #91F3CD
tetradic
#CD91F3 #F39C91 #B7F391 #91E8F3
square
#CD91F3 #F39C91 #B7F391 #91E8F3
split-complementary
#CD91F3 #E8F391 #91F39C
monochromatic
#9B23E7 #B45AED #CD91F3 #E6C8F9 #F2E3FC

Accessibility & contrast

On white

2.35
#CD91F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#CD91F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91F3
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91F3#FFFFFF#000000##000000
##CD91F31.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F7
Deuteranopia (green-blind)
#8CAAF0
Tritanopia (blue-blind)
#C99FB7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd91f3;
/* rgb */ color: rgb(205, 145, 243);
/* oklch */ color: oklch(75.1% 0.149 311.4);
Tailwind
colors: {
  custom: {
    50: '#deb2f7',
    500: '#cd91f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd91f3;
$custom-light: #deb2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91f3",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 243
  },
  "hsl": {
    "h": 276.735,
    "s": 80.328,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75117,
    "c": 0.14942,
    "h": 311.4
  },
  "luminance": 0.39701
}

Semantic roles & 50–950 ramp

primary
#CD91F3
secondary
#E2F4D7
accent
#DD095B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD91F3

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

Preview Lab → · Contrast checker → · Palette generator →

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