#CD95F8#CD95F8

#CD95F8 is a light, vivid violet. Relative luminance 0.413; OKLCH L 76.0% C 0.149 H 309.3°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#CD95F8
RGBrgb(205, 149, 248)
HSLhsl(274, 88%, 78%)
HSVhsv(274, 40%, 97%)
CMYKcmyk(17.3%, 39.9%, 0%, 2.7%)
CIE-LABlab(70.35, 38.98, -41.53)
CIE-LCHlch(70.35, 56.96, 313.19°)
OKLaboklab(76.01% 0.0941 -0.1151)
OKLCHoklch(76.01% 0.149 309.3)
XYZxyz(52.8644, 41.2520, 93.9663)
Luminance0.4125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD95F8 #C0F895
analogous
#9B95F8 #CD95F8 #F895F2
triadic
#CD95F8 #F8CD95 #95F8CD
tetradic
#CD95F8 #F89B95 #C0F895 #95F2F8
square
#CD95F8 #F89B95 #C0F895 #95F2F8
split-complementary
#CD95F8 #F2F895 #95F89B
monochromatic
#9722F0 #B25CF4 #CD95F8 #E8CEFC #F1E2FD

Accessibility & contrast

On white

2.27
#CD95F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#CD95F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD95F8
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD95F8#FFFFFF#000000##000000
##CD95F81.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FC
Deuteranopia (green-blind)
#8EADF5
Tritanopia (blue-blind)
#C8A4BB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd95f8;
/* rgb */ color: rgb(205, 149, 248);
/* oklch */ color: oklch(76.0% 0.149 309.3);
Tailwind
colors: {
  custom: {
    50: '#deb5fb',
    500: '#cd95f8',
    950: '#000000',
  },
}
SCSS
$custom: #cd95f8;
$custom-light: #deb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd95f8",
  "rgb": {
    "r": 205,
    "g": 149,
    "b": 248
  },
  "hsl": {
    "h": 273.939,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76014,
    "c": 0.14866,
    "h": 309.3
  },
  "luminance": 0.41251
}

Semantic roles & 50–950 ramp

primary
#CD95F8
secondary
#E3F5D6
accent
#E40164
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD95F8

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

Preview Lab → · Contrast checker → · Palette generator →

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