#CB4ECB#CB4ECB

#CB4ECB is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.5% C 0.214 H 327.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CB4ECB
RGBrgb(203, 78, 203)
HSLhsl(300, 55%, 55%)
HSVhsv(300, 62%, 80%)
CMYKcmyk(0%, 61.6%, 0%, 20.4%)
CIE-LABlab(54.51, 64.84, -41.31)
CIE-LCHlch(54.51, 76.88, 327.50°)
OKLaboklab(63.54% 0.1806 -0.114)
OKLCHoklch(63.54% 0.214 327.7)
XYZxyz(38.1319, 22.4596, 58.8150)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4ECB #4ECB4E
analogous
#8C4ECB #CB4ECB #CB4E8C
triadic
#CB4ECB #CBCB4E #4ECBCB
tetradic
#CB4ECB #CB8C4E #4ECB4E #4E8CCB
square
#CB4ECB #CB8C4E #4ECB4E #4E8CCB
split-complementary
#CB4ECB #8CCB4E #4ECB8C
monochromatic
#7B247B #AA32AA #CB4ECB #D97DD9 #E7ADE7

Accessibility & contrast

On white

3.82
#CB4ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CB4ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4ECB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4ECB#FFFFFF#000000##000000
##CB4ECB1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E78CF
Deuteranopia (green-blind)
#6C88C8
Tritanopia (blue-blind)
#D15E86
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb4ecb;
/* rgb */ color: rgb(203, 78, 203);
/* oklch */ color: oklch(63.5% 0.214 327.7);
Tailwind
colors: {
  custom: {
    50: '#de88db',
    500: '#cb4ecb',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ecb;
$custom-light: #de88db;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ecb",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63542,
    "c": 0.21361,
    "h": 327.7
  },
  "luminance": 0.22457
}

Semantic roles & 50–950 ramp

primary
#CB4ECB
secondary
#A0D5A0
accent
#DE4A4A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CB4ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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