#CD91FA#CD91FA

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

Color values

HEX#CD91FA
RGBrgb(205, 145, 250)
HSLhsl(274, 91%, 77%)
HSVhsv(274, 42%, 98%)
CMYKcmyk(18%, 42%, 0%, 2%)
CIE-LABlab(69.56, 41.58, -43.86)
CIE-LCHlch(69.56, 60.43, 313.47°)
OKLaboklab(75.45% 0.1 -0.1218)
OKLCHoklch(75.45% 0.158 309.4)
XYZxyz(52.5543, 40.1328, 95.4018)
Luminance0.4013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91FA #BEFA91
analogous
#9991FA #CD91FA #FA91F2
triadic
#CD91FA #FACD91 #91FACD
tetradic
#CD91FA #FA9991 #BEFA91 #91F2FA
square
#CD91FA #FA9991 #BEFA91 #91F2FA
split-complementary
#CD91FA #F2FA91 #91FA99
monochromatic
#981CF5 #B256F7 #CD91FA #E8CCFD #F2E2FE

Accessibility & contrast

On white

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

On black

9.03
#CD91FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91FA
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91FA#FFFFFF#000000##000000
##CD91FA1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FE
Deuteranopia (green-blind)
#89ABF7
Tritanopia (blue-blind)
#C7A1BA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd91fa;
/* rgb */ color: rgb(205, 145, 250);
/* oklch */ color: oklch(75.4% 0.158 309.4);
Tailwind
colors: {
  custom: {
    50: '#deb2fc',
    500: '#cd91fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd91fa;
$custom-light: #deb2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91fa",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 250
  },
  "hsl": {
    "h": 274.286,
    "s": 91.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75449,
    "c": 0.15758,
    "h": 309.4
  },
  "luminance": 0.40132
}

Semantic roles & 50–950 ramp

primary
#CD91FA
secondary
#E3F6D5
accent
#E60062
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD91FA

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

Preview Lab → · Contrast checker → · Palette generator →

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