#CD95F3#CD95F3

#CD95F3 is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.8% C 0.143 H 310.7°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#CD95F3
RGBrgb(205, 149, 243)
HSLhsl(276, 80%, 77%)
HSVhsv(276, 39%, 95%)
CMYKcmyk(15.6%, 38.7%, 0%, 4.7%)
CIE-LABlab(70.14, 37.91, -39.14)
CIE-LCHlch(70.14, 54.49, 314.09°)
OKLaboklab(75.78% 0.0931 -0.1082)
OKLCHoklch(75.78% 0.143 310.7)
XYZxyz(52.0991, 40.9459, 89.9354)
Luminance0.4094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD95F3 #BBF395
analogous
#9E95F3 #CD95F3 #F395EA
triadic
#CD95F3 #F3CD95 #95F3CD
tetradic
#CD95F3 #F39E95 #BBF395 #95EAF3
square
#CD95F3 #F39E95 #BBF395 #95EAF3
split-complementary
#CD95F3 #EAF395 #95F39E
monochromatic
#9927E7 #B35EED #CD95F3 #E7CCF9 #F2E4FC

Accessibility & contrast

On white

2.29
#CD95F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#CD95F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD95F3
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD95F3#FFFFFF#000000##000000
##CD95F31.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A9F7
Deuteranopia (green-blind)
#90ADF0
Tritanopia (blue-blind)
#C9A3B9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd95f3;
/* rgb */ color: rgb(205, 149, 243);
/* oklch */ color: oklch(75.8% 0.143 310.7);
Tailwind
colors: {
  custom: {
    50: '#ddb5f7',
    500: '#cd95f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd95f3;
$custom-light: #ddb5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd95f3",
  "rgb": {
    "r": 205,
    "g": 149,
    "b": 243
  },
  "hsl": {
    "h": 275.745,
    "s": 79.661,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75782,
    "c": 0.14276,
    "h": 310.7
  },
  "luminance": 0.40945
}

Semantic roles & 50–950 ramp

primary
#CD95F3
secondary
#E3F4D7
accent
#DC0A5F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD95F3

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

Preview Lab → · Contrast checker → · Palette generator →

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