#CB5EC2#CB5EC2

#CB5EC2 is a light, vivid purple. Relative luminance 0.246; OKLCH L 65.0% C 0.183 H 330.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#CB5EC2
RGBrgb(203, 94, 194)
HSLhsl(305, 51%, 58%)
HSVhsv(305, 54%, 80%)
CMYKcmyk(0%, 53.7%, 4.4%, 20.4%)
CIE-LABlab(56.68, 56.24, -32.76)
CIE-LCHlch(56.68, 65.08, 329.78°)
OKLaboklab(64.99% 0.1595 -0.0896)
OKLCHoklch(64.99% 0.183 330.7)
XYZxyz(38.3686, 24.5994, 53.7557)
Luminance0.2460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EC2 #5ECB67
analogous
#9D5ECB #CB5EC2 #CB5E8B
triadic
#CB5EC2 #C2CB5E #5EC2CB
tetradic
#CB5EC2 #CB9D5E #5ECB67 #5E8BCB
square
#CB5EC2 #CB9D5E #5ECB67 #5E8BCB
split-complementary
#CB5EC2 #8BCB5E #5ECB9D
monochromatic
#842B7D #B23AA8 #CB5EC2 #DA8CD4 #E9BBE5

Accessibility & contrast

On white

3.55
#CB5EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#CB5EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EC2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EC2#FFFFFF#000000##000000
##CB5EC21.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#587EC5
Deuteranopia (green-blind)
#798DBF
Tritanopia (blue-blind)
#D26787
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb5ec2;
/* rgb */ color: rgb(203, 94, 194);
/* oklch */ color: oklch(65.0% 0.183 330.7);
Tailwind
colors: {
  custom: {
    50: '#dd90d4',
    500: '#cb5ec2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ec2;
$custom-light: #dd90d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ec2",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 304.954,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64992,
    "c": 0.18291,
    "h": 330.7
  },
  "luminance": 0.24597
}

Semantic roles & 50–950 ramp

primary
#CB5EC2
secondary
#ADD8B0
accent
#DB594D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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