#CD95FA#CD95FA

#CD95FA is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.1% C 0.151 H 308.7°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#CD95FA
RGBrgb(205, 149, 250)
HSLhsl(273, 91%, 78%)
HSVhsv(273, 40%, 98%)
CMYKcmyk(18%, 40.4%, 0%, 2%)
CIE-LABlab(70.44, 39.42, -42.49)
CIE-LCHlch(70.44, 57.95, 312.85°)
OKLaboklab(76.11% 0.0945 -0.1179)
OKLCHoklch(76.11% 0.151 308.7)
XYZxyz(53.1764, 41.3768, 95.6091)
Luminance0.4138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD95FA #C2FA95
analogous
#9A95FA #CD95FA #FA95F5
triadic
#CD95FA #FACD95 #95FACD
tetradic
#CD95FA #FA9A95 #C2FA95 #95F5FA
square
#CD95FA #FA9A95 #C2FA95 #95F5FA
split-complementary
#CD95FA #F5FA95 #95FA9A
monochromatic
#9620F4 #B15BF7 #CD95FA #E9CFFD #F1E2FE

Accessibility & contrast

On white

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

On black

9.28
#CD95FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD95FA
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD95FA#FFFFFF#000000##000000
##CD95FA1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFE
Deuteranopia (green-blind)
#8DADF7
Tritanopia (blue-blind)
#C7A4BC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd95fa;
/* rgb */ color: rgb(205, 149, 250);
/* oklch */ color: oklch(76.1% 0.151 308.7);
Tailwind
colors: {
  custom: {
    50: '#deb5fc',
    500: '#cd95fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd95fa;
$custom-light: #deb5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd95fa",
  "rgb": {
    "r": 205,
    "g": 149,
    "b": 250
  },
  "hsl": {
    "h": 273.267,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76108,
    "c": 0.15104,
    "h": 308.7
  },
  "luminance": 0.41376
}

Semantic roles & 50–950 ramp

primary
#CD95FA
secondary
#E4F6D5
accent
#E60066
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD95FA

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

Preview Lab → · Contrast checker → · Palette generator →

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