#CD95F5#CD95F5

#CD95F5 is a light, vivid violet. Relative luminance 0.411; OKLCH L 75.9% C 0.145 H 310.1°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#CD95F5
RGBrgb(205, 149, 245)
HSLhsl(275, 83%, 77%)
HSVhsv(275, 39%, 96%)
CMYKcmyk(16.3%, 39.2%, 0%, 3.9%)
CIE-LABlab(70.22, 38.34, -40.10)
CIE-LCHlch(70.22, 55.48, 313.72°)
OKLaboklab(75.87% 0.0935 -0.111)
OKLCHoklch(75.87% 0.145 310.1)
XYZxyz(52.4027, 41.0673, 91.5347)
Luminance0.4107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD95F5 #BDF595
analogous
#9D95F5 #CD95F5 #F595ED
triadic
#CD95F5 #F5CD95 #95F5CD
tetradic
#CD95F5 #F59D95 #BDF595 #95EDF5
square
#CD95F5 #F59D95 #BDF595 #95EDF5
split-complementary
#CD95F5 #EDF595 #95F59D
monochromatic
#9825EA #B35DF0 #CD95F5 #E7CDFA #F2E3FC

Accessibility & contrast

On white

2.28
#CD95F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#CD95F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD95F5
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD95F5#FFFFFF#000000##000000
##CD95F51.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A9F9
Deuteranopia (green-blind)
#8FADF2
Tritanopia (blue-blind)
#C8A3BA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd95f5;
/* rgb */ color: rgb(205, 149, 245);
/* oklch */ color: oklch(75.9% 0.145 310.1);
Tailwind
colors: {
  custom: {
    50: '#ddb5f9',
    500: '#cd95f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd95f5;
$custom-light: #ddb5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd95f5",
  "rgb": {
    "r": 205,
    "g": 149,
    "b": 245
  },
  "hsl": {
    "h": 275,
    "s": 82.759,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75874,
    "c": 0.14511,
    "h": 310.1
  },
  "luminance": 0.41067
}

Semantic roles & 50–950 ramp

primary
#CD95F5
secondary
#E3F4D7
accent
#DF0661
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD95F5

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

Preview Lab → · Contrast checker → · Palette generator →

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