#CD95EB#CD95EB

#CD95EB is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.4% C 0.133 H 313.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#CD95EB
RGBrgb(205, 149, 235)
HSLhsl(279, 68%, 75%)
HSVhsv(279, 37%, 92%)
CMYKcmyk(12.8%, 36.6%, 0%, 7.8%)
CIE-LABlab(69.81, 36.23, -35.28)
CIE-LCHlch(69.81, 50.57, 315.76°)
OKLaboklab(75.42% 0.0914 -0.0972)
OKLCHoklch(75.42% 0.133 313.3)
XYZxyz(50.9172, 40.4731, 83.7110)
Luminance0.4047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD95EB #B3EB95
analogous
#A295EB #CD95EB #EB95DE
triadic
#CD95EB #EBCD95 #95EBCD
tetradic
#CD95EB #EBA295 #B3EB95 #95DEEB
square
#CD95EB #EBA295 #B3EB95 #95DEEB
split-complementary
#CD95EB #DEEB95 #95EBA2
monochromatic
#9C2ED8 #B562E1 #CD95EB #E5C8F5 #F3E5FA

Accessibility & contrast

On white

2.31
#CD95EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#CD95EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD95EB
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD95EB#FFFFFF#000000##000000
##CD95EB1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7EE
Deuteranopia (green-blind)
#93ACE8
Tritanopia (blue-blind)
#CBA1B5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd95eb;
/* rgb */ color: rgb(205, 149, 235);
/* oklch */ color: oklch(75.4% 0.133 313.3);
Tailwind
colors: {
  custom: {
    50: '#ddb5f1',
    500: '#cd95eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd95eb;
$custom-light: #ddb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd95eb",
  "rgb": {
    "r": 205,
    "g": 149,
    "b": 235
  },
  "hsl": {
    "h": 279.07,
    "s": 68.254,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75421,
    "c": 0.13339,
    "h": 313.3
  },
  "luminance": 0.40472
}

Semantic roles & 50–950 ramp

primary
#CD95EB
secondary
#E2F2D9
accent
#D01557
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD95EB

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

Preview Lab → · Contrast checker → · Palette generator →

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