#CD91EC#CD91EC

#CD91EC is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.8% C 0.141 H 313.5°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#CD91EC
RGBrgb(205, 145, 236)
HSLhsl(280, 71%, 75%)
HSVhsv(280, 39%, 93%)
CMYKcmyk(13.1%, 38.6%, 0%, 7.5%)
CIE-LABlab(68.96, 38.61, -37.14)
CIE-LCHlch(68.96, 53.57, 316.11°)
OKLaboklab(74.8% 0.0974 -0.1025)
OKLCHoklch(74.8% 0.141 313.5)
XYZxyz(50.4401, 39.2871, 84.2666)
Luminance0.3929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91EC #B0EC91
analogous
#9F91EC #CD91EC #EC91DE
triadic
#CD91EC #ECCD91 #91ECCD
tetradic
#CD91EC #EC9F91 #B0EC91 #91DEEC
square
#CD91EC #EC9F91 #B0EC91 #91DEEC
split-complementary
#CD91EC #DEEC91 #91EC9F
monochromatic
#9E29DA #B55DE3 #CD91EC #E5C5F5 #F3E5FA

Accessibility & contrast

On white

2.37
#CD91EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#CD91EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91EC
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91EC#FFFFFF#000000##000000
##CD91EC1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5EF
Deuteranopia (green-blind)
#8FAAE9
Tritanopia (blue-blind)
#CB9DB3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd91ec;
/* rgb */ color: rgb(205, 145, 236);
/* oklch */ color: oklch(74.8% 0.141 313.5);
Tailwind
colors: {
  custom: {
    50: '#ddb2f2',
    500: '#cd91ec',
    950: '#000000',
  },
}
SCSS
$custom: #cd91ec;
$custom-light: #ddb2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91ec",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 279.56,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74795,
    "c": 0.14134,
    "h": 313.5
  },
  "luminance": 0.39286
}

Semantic roles & 50–950 ramp

primary
#CD91EC
secondary
#E1F2D9
accent
#D31354
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD91EC

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

Preview Lab → · Contrast checker → · Palette generator →

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