#CB95ED#CB95ED

#CB95ED is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.3% C 0.135 H 311.6°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#CB95ED
RGBrgb(203, 149, 237)
HSLhsl(277, 71%, 76%)
HSVhsv(277, 37%, 93%)
CMYKcmyk(14.3%, 37.1%, 0%, 7.1%)
CIE-LABlab(69.69, 36.05, -36.57)
CIE-LCHlch(69.69, 51.36, 314.59°)
OKLaboklab(75.31% 0.0895 -0.1009)
OKLCHoklch(75.31% 0.135 311.6)
XYZxyz(50.6595, 40.3066, 85.2156)
Luminance0.4031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95ED #B7ED95
analogous
#9F95ED #CB95ED #ED95E3
triadic
#CB95ED #EDCB95 #95EDCB
tetradic
#CB95ED #ED9F95 #B7ED95 #95E3ED
square
#CB95ED #ED9F95 #B7ED95 #95E3ED
split-complementary
#CB95ED #E3ED95 #95ED9F
monochromatic
#982CDB #B161E4 #CB95ED #E5C9F6 #F2E5FB

Accessibility & contrast

On white

2.32
#CB95ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#CB95ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB95ED
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB95ED#FFFFFF#000000##000000
##CB95ED1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7F0
Deuteranopia (green-blind)
#91ABEA
Tritanopia (blue-blind)
#C8A1B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb95ed;
/* rgb */ color: rgb(203, 149, 237);
/* oklch */ color: oklch(75.3% 0.135 311.6);
Tailwind
colors: {
  custom: {
    50: '#dcb5f3',
    500: '#cb95ed',
    950: '#000000',
  },
}
SCSS
$custom: #cb95ed;
$custom-light: #dcb5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95ed",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 237
  },
  "hsl": {
    "h": 276.818,
    "s": 70.968,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75313,
    "c": 0.1349,
    "h": 311.6
  },
  "luminance": 0.40306
}

Semantic roles & 50–950 ramp

primary
#CB95ED
secondary
#E3F2D9
accent
#D3135D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB95ED

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

Preview Lab → · Contrast checker → · Palette generator →

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