#CD95EF#CD95EF

#CD95EF is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.6% C 0.138 H 311.9°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#CD95EF
RGBrgb(205, 149, 239)
HSLhsl(277, 74%, 76%)
HSVhsv(277, 38%, 94%)
CMYKcmyk(14.2%, 37.7%, 0%, 6.3%)
CIE-LABlab(69.97, 37.07, -37.21)
CIE-LCHlch(69.97, 52.52, 314.89°)
OKLaboklab(75.6% 0.0923 -0.1027)
OKLCHoklch(75.6% 0.138 311.9)
XYZxyz(51.5016, 40.7069, 86.7888)
Luminance0.4071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD95EF #B7EF95
analogous
#A095EF #CD95EF #EF95E4
triadic
#CD95EF #EFCD95 #95EFCD
tetradic
#CD95EF #EFA095 #B7EF95 #95E4EF
square
#CD95EF #EFA095 #B7EF95 #95E4EF
split-complementary
#CD95EF #E4EF95 #95EFA0
monochromatic
#9B2BDF #B460E7 #CD95EF #E6CAF7 #F2E4FB

Accessibility & contrast

On white

2.30
#CD95EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#CD95EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD95EF
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD95EF#FFFFFF#000000##000000
##CD95EF1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F2
Deuteranopia (green-blind)
#92ACEC
Tritanopia (blue-blind)
#CAA2B7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd95ef;
/* rgb */ color: rgb(205, 149, 239);
/* oklch */ color: oklch(75.6% 0.138 311.9);
Tailwind
colors: {
  custom: {
    50: '#ddb5f4',
    500: '#cd95ef',
    950: '#000000',
  },
}
SCSS
$custom: #cd95ef;
$custom-light: #ddb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd95ef",
  "rgb": {
    "r": 205,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 277.333,
    "s": 73.77,
    "l": 76.078
  },
  "oklch": {
    "l": 0.756,
    "c": 0.13806,
    "h": 311.9
  },
  "luminance": 0.40706
}

Semantic roles & 50–950 ramp

primary
#CD95EF
secondary
#E2F3D8
accent
#D6105B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD95EF

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

Preview Lab → · Contrast checker → · Palette generator →

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