#CD95ED#CD95ED

#CD95ED is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.5% C 0.136 H 312.6°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#CD95ED
RGBrgb(205, 149, 237)
HSLhsl(278, 71%, 76%)
HSVhsv(278, 37%, 93%)
CMYKcmyk(13.5%, 37.1%, 0%, 7.1%)
CIE-LABlab(69.89, 36.65, -36.25)
CIE-LCHlch(69.89, 51.55, 315.31°)
OKLaboklab(75.51% 0.0918 -0.0999)
OKLCHoklch(75.51% 0.136 312.6)
XYZxyz(51.2078, 40.5893, 85.2413)
Luminance0.4059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD95ED #B5ED95
analogous
#A195ED #CD95ED #ED95E1
triadic
#CD95ED #EDCD95 #95EDCD
tetradic
#CD95ED #EDA195 #B5ED95 #95E1ED
square
#CD95ED #EDA195 #B5ED95 #95E1ED
split-complementary
#CD95ED #E1ED95 #95EDA1
monochromatic
#9C2CDB #B461E4 #CD95ED #E6C9F6 #F3E5FB

Accessibility & contrast

On white

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

On black

9.12
#CD95ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD95ED
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD95ED#FFFFFF#000000##000000
##CD95ED1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F0
Deuteranopia (green-blind)
#93ACEA
Tritanopia (blue-blind)
#CAA1B6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd95ed;
/* rgb */ color: rgb(205, 149, 237);
/* oklch */ color: oklch(75.5% 0.136 312.6);
Tailwind
colors: {
  custom: {
    50: '#ddb5f3',
    500: '#cd95ed',
    950: '#000000',
  },
}
SCSS
$custom: #cd95ed;
$custom-light: #ddb5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd95ed",
  "rgb": {
    "r": 205,
    "g": 149,
    "b": 237
  },
  "hsl": {
    "h": 278.182,
    "s": 70.968,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7551,
    "c": 0.13572,
    "h": 312.6
  },
  "luminance": 0.40588
}

Semantic roles & 50–950 ramp

primary
#CD95ED
secondary
#E2F2D9
accent
#D31359
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD95ED

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

Preview Lab → · Contrast checker → · Palette generator →

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