#CD95F2#CD95F2

#CD95F2 is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.7% C 0.142 H 311.0°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#CD95F2
RGBrgb(205, 149, 242)
HSLhsl(276, 78%, 77%)
HSVhsv(276, 38%, 95%)
CMYKcmyk(15.3%, 38.4%, 0%, 5.1%)
CIE-LABlab(70.10, 37.70, -38.66)
CIE-LCHlch(70.10, 54.00, 314.28°)
OKLaboklab(75.74% 0.0929 -0.1068)
OKLCHoklch(75.74% 0.142 311)
XYZxyz(51.9485, 40.8856, 89.1423)
Luminance0.4088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD95F2 #BAF295
analogous
#9F95F2 #CD95F2 #F295E9
triadic
#CD95F2 #F2CD95 #95F2CD
tetradic
#CD95F2 #F29F95 #BAF295 #95E9F2
square
#CD95F2 #F29F95 #BAF295 #95E9F2
split-complementary
#CD95F2 #E9F295 #95F29F
monochromatic
#9A28E5 #B35EEB #CD95F2 #E7CCF9 #F2E4FC

Accessibility & contrast

On white

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

On black

9.18
#CD95F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD95F2
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD95F2#FFFFFF#000000##000000
##CD95F21.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A9F5
Deuteranopia (green-blind)
#90ACEF
Tritanopia (blue-blind)
#C9A2B8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd95f2;
/* rgb */ color: rgb(205, 149, 242);
/* oklch */ color: oklch(75.7% 0.142 311.0);
Tailwind
colors: {
  custom: {
    50: '#ddb5f6',
    500: '#cd95f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd95f2;
$custom-light: #ddb5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd95f2",
  "rgb": {
    "r": 205,
    "g": 149,
    "b": 242
  },
  "hsl": {
    "h": 276.129,
    "s": 78.151,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75736,
    "c": 0.14157,
    "h": 311
  },
  "luminance": 0.40885
}

Semantic roles & 50–950 ramp

primary
#CD95F2
secondary
#E3F3D8
accent
#DA0B5E
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CD95F2

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

Preview Lab → · Contrast checker → · Palette generator →

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