#CD95EC#CD95EC

#CD95EC is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.5% C 0.135 H 312.9°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#CD95EC
RGBrgb(205, 149, 236)
HSLhsl(279, 70%, 75%)
HSVhsv(279, 37%, 93%)
CMYKcmyk(13.1%, 36.9%, 0%, 7.5%)
CIE-LABlab(69.85, 36.44, -35.76)
CIE-LCHlch(69.85, 51.06, 315.54°)
OKLaboklab(75.47% 0.0916 -0.0985)
OKLCHoklch(75.47% 0.135 312.9)
XYZxyz(51.0621, 40.5311, 84.4740)
Luminance0.4053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD95EC #B4EC95
analogous
#A195EC #CD95EC #EC95DF
triadic
#CD95EC #ECCD95 #95ECCD
tetradic
#CD95EC #ECA195 #B4EC95 #95DFEC
square
#CD95EC #ECA195 #B4EC95 #95DFEC
split-complementary
#CD95EC #DFEC95 #95ECA1
monochromatic
#9C2DD9 #B561E3 #CD95EC #E5C9F5 #F3E5FA

Accessibility & contrast

On white

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

On black

9.11
#CD95EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD95EC
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD95EC#FFFFFF#000000##000000
##CD95EC1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8EF
Deuteranopia (green-blind)
#93ACE9
Tritanopia (blue-blind)
#CAA1B6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd95ec;
/* rgb */ color: rgb(205, 149, 236);
/* oklch */ color: oklch(75.5% 0.135 312.9);
Tailwind
colors: {
  custom: {
    50: '#ddb5f2',
    500: '#cd95ec',
    950: '#000000',
  },
}
SCSS
$custom: #cd95ec;
$custom-light: #ddb5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd95ec",
  "rgb": {
    "r": 205,
    "g": 149,
    "b": 236
  },
  "hsl": {
    "h": 278.621,
    "s": 69.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75465,
    "c": 0.13456,
    "h": 312.9
  },
  "luminance": 0.4053
}

Semantic roles & 50–950 ramp

primary
#CD95EC
secondary
#E2F2D9
accent
#D21457
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD95EC

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

Preview Lab → · Contrast checker → · Palette generator →

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