#CB46CB#CB46CB

#CB46CB is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.7% C 0.224 H 327.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CB46CB
RGBrgb(203, 70, 203)
HSLhsl(300, 56%, 54%)
HSVhsv(300, 66%, 80%)
CMYKcmyk(0%, 65.5%, 0%, 20.4%)
CIE-LABlab(53.38, 68.01, -43.11)
CIE-LCHlch(53.38, 80.52, 327.63°)
OKLaboklab(62.72% 0.1896 -0.1192)
OKLCHoklch(62.72% 0.224 327.8)
XYZxyz(37.5977, 21.3912, 58.6370)
Luminance0.2139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB46CB #46CB46
analogous
#8846CB #CB46CB #CB4688
triadic
#CB46CB #CBCB46 #46CBCB
tetradic
#CB46CB #CB8846 #46CB46 #4688CB
square
#CB46CB #CB8846 #46CB46 #4688CB
split-complementary
#CB46CB #88CB46 #46CB88
monochromatic
#762176 #A52EA5 #CB46CB #D876D8 #E6A6E6

Accessibility & contrast

On white

3.98
#CB46CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CB46CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB46CB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB46CB#FFFFFF#000000##000000
##CB46CB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3374CF
Deuteranopia (green-blind)
#6786C7
Tritanopia (blue-blind)
#D15883
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb46cb;
/* rgb */ color: rgb(203, 70, 203);
/* oklch */ color: oklch(62.7% 0.224 327.8);
Tailwind
colors: {
  custom: {
    50: '#de84db',
    500: '#cb46cb',
    950: '#000000',
  },
}
SCSS
$custom: #cb46cb;
$custom-light: #de84db;
$custom-dark: #000000;
JSON
{
  "hex": "#cb46cb",
  "rgb": {
    "r": 203,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6272,
    "c": 0.22392,
    "h": 327.8
  },
  "luminance": 0.21389
}

Semantic roles & 50–950 ramp

primary
#CB46CB
secondary
#9AD39A
accent
#DF4848
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CB46CB

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

Preview Lab → · Contrast checker → · Palette generator →

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