#CB5ECA#CB5ECA

#CB5ECA is a light, vivid purple. Relative luminance 0.250; OKLCH L 65.4% C 0.190 H 327.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#CB5ECA
RGBrgb(203, 94, 202)
HSLhsl(301, 51%, 58%)
HSVhsv(301, 54%, 80%)
CMYKcmyk(0%, 53.7%, 0.5%, 20.4%)
CIE-LABlab(57.04, 57.62, -36.76)
CIE-LCHlch(57.04, 68.35, 327.46°)
OKLaboklab(65.38% 0.1606 -0.101)
OKLCHoklch(65.38% 0.19 327.8)
XYZxyz(39.2914, 24.9685, 58.6155)
Luminance0.2497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5ECA #5ECB5F
analogous
#955ECB #CB5ECA #CB5E94
triadic
#CB5ECA #CACB5E #5ECACB
tetradic
#CB5ECA #CB955E #5ECB5F #5E94CB
square
#CB5ECA #CB955E #5ECB5F #5E94CB
split-complementary
#CB5ECA #94CB5E #5ECB95
monochromatic
#842B83 #B23AB1 #CB5ECA #DA8CD9 #E9BBE8

Accessibility & contrast

On white

3.50
#CB5ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#CB5ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5ECA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5ECA#FFFFFF#000000##000000
##CB5ECA1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#768EC7
Tritanopia (blue-blind)
#D16A8B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb5eca;
/* rgb */ color: rgb(203, 94, 202);
/* oklch */ color: oklch(65.4% 0.190 327.8);
Tailwind
colors: {
  custom: {
    50: '#dd91da',
    500: '#cb5eca',
    950: '#000000',
  },
}
SCSS
$custom: #cb5eca;
$custom-light: #dd91da;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5eca",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 300.55,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65376,
    "c": 0.18976,
    "h": 327.8
  },
  "luminance": 0.24966
}

Semantic roles & 50–950 ramp

primary
#CB5ECA
secondary
#ADD8AD
accent
#DB4E4D
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CB5ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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