#CD96F0#CD96F0

#CD96F0 is a light, vivid violet. Relative luminance 0.411; OKLCH L 75.8% C 0.138 H 311.5°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#CD96F0
RGBrgb(205, 150, 240)
HSLhsl(277, 75%, 76%)
HSVhsv(277, 38%, 94%)
CMYKcmyk(14.6%, 37.5%, 0%, 5.9%)
CIE-LABlab(70.23, 36.74, -37.35)
CIE-LCHlch(70.23, 52.39, 314.53°)
OKLaboklab(75.81% 0.0911 -0.1031)
OKLCHoklch(75.81% 0.138 311.5)
XYZxyz(51.8086, 41.0839, 87.6219)
Luminance0.4108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96F0 #B9F096
analogous
#A096F0 #CD96F0 #F096E6
triadic
#CD96F0 #F0CD96 #96F0CD
tetradic
#CD96F0 #F0A096 #B9F096 #96E6F0
square
#CD96F0 #F0A096 #B9F096 #96E6F0
split-complementary
#CD96F0 #E6F096 #96F0A0
monochromatic
#9A2BE1 #B460E8 #CD96F0 #E7CCF8 #F2E4FB

Accessibility & contrast

On white

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

On black

9.22
#CD96F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96F0
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96F0#FFFFFF#000000##000000
##CD96F01.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A9F3
Deuteranopia (green-blind)
#92ADED
Tritanopia (blue-blind)
#C9A3B8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd96f0;
/* rgb */ color: rgb(205, 150, 240);
/* oklch */ color: oklch(75.8% 0.138 311.5);
Tailwind
colors: {
  custom: {
    50: '#ddb5f5',
    500: '#cd96f0',
    950: '#000000',
  },
}
SCSS
$custom: #cd96f0;
$custom-light: #ddb5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96f0",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 240
  },
  "hsl": {
    "h": 276.667,
    "s": 75,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75814,
    "c": 0.13755,
    "h": 311.5
  },
  "luminance": 0.41083
}

Semantic roles & 50–950 ramp

primary
#CD96F0
secondary
#E3F3D8
accent
#D70E5C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD96F0

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

Preview Lab → · Contrast checker → · Palette generator →

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