#CB95EC#CB95EC

#CB95EC is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.3% C 0.134 H 311.9°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#CB95EC
RGBrgb(203, 149, 236)
HSLhsl(277, 70%, 75%)
HSVhsv(277, 37%, 93%)
CMYKcmyk(14%, 36.9%, 0%, 7.5%)
CIE-LABlab(69.65, 35.84, -36.09)
CIE-LCHlch(69.65, 50.86, 314.80°)
OKLaboklab(75.27% 0.0893 -0.0995)
OKLCHoklch(75.27% 0.134 311.9)
XYZxyz(50.5138, 40.2484, 84.4483)
Luminance0.4025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95EC #B6EC95
analogous
#9F95EC #CB95EC #EC95E2
triadic
#CB95EC #ECCB95 #95ECCB
tetradic
#CB95EC #EC9F95 #B6EC95 #95E2EC
square
#CB95EC #EC9F95 #B6EC95 #95E2EC
split-complementary
#CB95EC #E2EC95 #95EC9F
monochromatic
#982DD9 #B261E3 #CB95EC #E4C9F5 #F2E5FA

Accessibility & contrast

On white

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

On black

9.05
#CB95EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB95EC
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB95EC#FFFFFF#000000##000000
##CB95EC1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EF
Deuteranopia (green-blind)
#92ABE9
Tritanopia (blue-blind)
#C8A1B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb95ec;
/* rgb */ color: rgb(203, 149, 236);
/* oklch */ color: oklch(75.3% 0.134 311.9);
Tailwind
colors: {
  custom: {
    50: '#dcb5f2',
    500: '#cb95ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb95ec;
$custom-light: #dcb5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95ec",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 236
  },
  "hsl": {
    "h": 277.241,
    "s": 69.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75268,
    "c": 0.13372,
    "h": 311.9
  },
  "luminance": 0.40248
}

Semantic roles & 50–950 ramp

primary
#CB95EC
secondary
#E3F2D9
accent
#D2145C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB95EC

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

Preview Lab → · Contrast checker → · Palette generator →

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