#CD91ED#CD91ED

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

Color values

HEX#CD91ED
RGBrgb(205, 145, 237)
HSLhsl(279, 72%, 75%)
HSVhsv(279, 39%, 93%)
CMYKcmyk(13.5%, 38.8%, 0%, 7.1%)
CIE-LABlab(69.00, 38.82, -37.63)
CIE-LCHlch(69.00, 54.06, 315.89°)
OKLaboklab(74.84% 0.0976 -0.1039)
OKLCHoklch(74.84% 0.142 313.2)
XYZxyz(50.5858, 39.3453, 85.0339)
Luminance0.3934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91ED #B1ED91
analogous
#9F91ED #CD91ED #ED91DF
triadic
#CD91ED #EDCD91 #91EDCD
tetradic
#CD91ED #ED9F91 #B1ED91 #91DFED
square
#CD91ED #ED9F91 #B1ED91 #91DFED
split-complementary
#CD91ED #DFED91 #91ED9F
monochromatic
#9D28DC #B55CE4 #CD91ED #E5C6F6 #F3E5FB

Accessibility & contrast

On white

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

On black

8.87
#CD91ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91ED
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91ED#FFFFFF#000000##000000
##CD91ED1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A5F0
Deuteranopia (green-blind)
#8FAAEA
Tritanopia (blue-blind)
#CA9EB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd91ed;
/* rgb */ color: rgb(205, 145, 237);
/* oklch */ color: oklch(74.8% 0.142 313.2);
Tailwind
colors: {
  custom: {
    50: '#ddb2f3',
    500: '#cd91ed',
    950: '#000000',
  },
}
SCSS
$custom: #cd91ed;
$custom-light: #ddb2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91ed",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 237
  },
  "hsl": {
    "h": 279.13,
    "s": 71.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7484,
    "c": 0.14249,
    "h": 313.2
  },
  "luminance": 0.39344
}

Semantic roles & 50–950 ramp

primary
#CD91ED
secondary
#E2F2D9
accent
#D41255
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD91ED

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

Preview Lab → · Contrast checker → · Palette generator →

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