#CD95FD#CD95FD

#CD95FD is a light, vivid violet. Relative luminance 0.416; OKLCH L 76.3% C 0.155 H 307.9°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#CD95FD
RGBrgb(205, 149, 253)
HSLhsl(272, 96%, 79%)
HSVhsv(272, 41%, 99%)
CMYKcmyk(19%, 41.1%, 0%, 0.8%)
CIE-LABlab(70.57, 40.07, -43.91)
CIE-LCHlch(70.57, 59.45, 312.38°)
OKLaboklab(76.25% 0.095 -0.122)
OKLCHoklch(76.25% 0.155 307.9)
XYZxyz(53.6505, 41.5664, 98.1062)
Luminance0.4157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD95FD #C5FD95
analogous
#9995FD #CD95FD #FD95F9
triadic
#CD95FD #FDCD95 #95FDCD
tetradic
#CD95FD #FD9995 #C5FD95 #95F9FD
square
#CD95FD #FD9995 #C5FD95 #95F9FD
split-complementary
#CD95FD #F9FD95 #95FD99
monochromatic
#941DFB #B159FC #CD95FD #E9D1FE #F1E1FE

Accessibility & contrast

On white

2.25
#CD95FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#CD95FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD95FD
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD95FD#FFFFFF#000000##000000
##CD95FD1.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#8BADFA
Tritanopia (blue-blind)
#C6A5BD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd95fd;
/* rgb */ color: rgb(205, 149, 253);
/* oklch */ color: oklch(76.3% 0.155 307.9);
Tailwind
colors: {
  custom: {
    50: '#deb5fe',
    500: '#cd95fd',
    950: '#000000',
  },
}
SCSS
$custom: #cd95fd;
$custom-light: #deb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd95fd",
  "rgb": {
    "r": 205,
    "g": 149,
    "b": 253
  },
  "hsl": {
    "h": 272.308,
    "s": 96.296,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76251,
    "c": 0.1546,
    "h": 307.9
  },
  "luminance": 0.41566
}

Semantic roles & 50–950 ramp

primary
#CD95FD
secondary
#E4F7D4
accent
#E6006A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD95FD

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

Preview Lab → · Contrast checker → · Palette generator →

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