#CD95FB#CD95FB

#CD95FB is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.2% C 0.152 H 308.4°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#CD95FB
RGBrgb(205, 149, 251)
HSLhsl(273, 93%, 78%)
HSVhsv(273, 41%, 98%)
CMYKcmyk(18.3%, 40.6%, 0%, 1.6%)
CIE-LABlab(70.48, 39.63, -42.96)
CIE-LCHlch(70.48, 58.45, 312.69°)
OKLaboklab(76.16% 0.0946 -0.1192)
OKLCHoklch(76.16% 0.152 308.4)
XYZxyz(53.3336, 41.4397, 96.4371)
Luminance0.4144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD95FB #C3FB95
analogous
#9A95FB #CD95FB #FB95F6
triadic
#CD95FB #FBCD95 #95FBCD
tetradic
#CD95FB #FB9A95 #C3FB95 #95F6FB
square
#CD95FB #FB9A95 #C3FB95 #95F6FB
split-complementary
#CD95FB #F6FB95 #95FB9A
monochromatic
#951FF7 #B15AF9 #CD95FB #E9D0FD #F1E2FE

Accessibility & contrast

On white

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

On black

9.29
#CD95FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD95FB
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD95FB#FFFFFF#000000##000000
##CD95FB1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFF
Deuteranopia (green-blind)
#8CADF8
Tritanopia (blue-blind)
#C7A5BC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd95fb;
/* rgb */ color: rgb(205, 149, 251);
/* oklch */ color: oklch(76.2% 0.152 308.4);
Tailwind
colors: {
  custom: {
    50: '#deb5fd',
    500: '#cd95fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd95fb;
$custom-light: #deb5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd95fb",
  "rgb": {
    "r": 205,
    "g": 149,
    "b": 251
  },
  "hsl": {
    "h": 272.941,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76155,
    "c": 0.15222,
    "h": 308.4
  },
  "luminance": 0.41439
}

Semantic roles & 50–950 ramp

primary
#CD95FB
secondary
#E4F6D5
accent
#E60068
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD95FB

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

Preview Lab → · Contrast checker → · Palette generator →

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