#CD95FC#CD95FC

#CD95FC is a light, vivid violet. Relative luminance 0.415; OKLCH L 76.2% C 0.153 H 308.2°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#CD95FC
RGBrgb(205, 149, 252)
HSLhsl(273, 94%, 79%)
HSVhsv(273, 41%, 99%)
CMYKcmyk(18.7%, 40.9%, 0%, 1.2%)
CIE-LABlab(70.53, 39.85, -43.44)
CIE-LCHlch(70.53, 58.95, 312.54°)
OKLaboklab(76.2% 0.0948 -0.1206)
OKLCHoklch(76.2% 0.153 308.2)
XYZxyz(53.4916, 41.5029, 97.2695)
Luminance0.4150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD95FC #C4FC95
analogous
#9995FC #CD95FC #FC95F8
triadic
#CD95FC #FCCD95 #95FCCD
tetradic
#CD95FC #FC9995 #C4FC95 #95F8FC
square
#CD95FC #FC9995 #C4FC95 #95F8FC
split-complementary
#CD95FC #F8FC95 #95FC99
monochromatic
#951EF9 #B159FA #CD95FC #E9D1FE #F1E1FE

Accessibility & contrast

On white

2.26
#CD95FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#CD95FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD95FC
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD95FC#FFFFFF#000000##000000
##CD95FC1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#8CADF9
Tritanopia (blue-blind)
#C7A5BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd95fc;
/* rgb */ color: rgb(205, 149, 252);
/* oklch */ color: oklch(76.2% 0.153 308.2);
Tailwind
colors: {
  custom: {
    50: '#deb5fd',
    500: '#cd95fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd95fc;
$custom-light: #deb5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd95fc",
  "rgb": {
    "r": 205,
    "g": 149,
    "b": 252
  },
  "hsl": {
    "h": 272.621,
    "s": 94.495,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76203,
    "c": 0.15341,
    "h": 308.2
  },
  "luminance": 0.41502
}

Semantic roles & 50–950 ramp

primary
#CD95FC
secondary
#E4F6D5
accent
#E60069
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD95FC

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

Preview Lab → · Contrast checker → · Palette generator →

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