#CB46BD#CB46BD

#CB46BD is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 62.0% C 0.213 H 332.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CB46BD
RGBrgb(203, 70, 189)
HSLhsl(306, 56%, 54%)
HSVhsv(306, 66%, 80%)
CMYKcmyk(0%, 65.5%, 6.9%, 20.4%)
CIE-LABlab(52.68, 65.75, -36.14)
CIE-LCHlch(52.68, 75.03, 331.20°)
OKLaboklab(61.99% 0.1886 -0.0991)
OKLCHoklch(61.99% 0.213 332.3)
XYZxyz(36.0041, 20.7537, 50.2438)
Luminance0.2075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB46BD #46CB54
analogous
#9646CB #CB46BD #CB467A
triadic
#CB46BD #BDCB46 #46BDCB
tetradic
#CB46BD #CB9646 #46CB54 #467ACB
square
#CB46BD #CB9646 #46CB54 #467ACB
split-complementary
#CB46BD #7ACB46 #46CB96
monochromatic
#76216D #A52E99 #CB46BD #D876CE #E6A6DF

Accessibility & contrast

On white

4.08
#CB46BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CB46BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB46BD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB46BD#FFFFFF#000000##000000
##CB46BD1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4072C0
Deuteranopia (green-blind)
#6E84BA
Tritanopia (blue-blind)
#D3527C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb46bd;
/* rgb */ color: rgb(203, 70, 189);
/* oklch */ color: oklch(62.0% 0.213 332.3);
Tailwind
colors: {
  custom: {
    50: '#de83d1',
    500: '#cb46bd',
    950: '#000000',
  },
}
SCSS
$custom: #cb46bd;
$custom-light: #de83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb46bd",
  "rgb": {
    "r": 203,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 306.316,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6199,
    "c": 0.21307,
    "h": 332.3
  },
  "luminance": 0.20751
}

Semantic roles & 50–950 ramp

primary
#CB46BD
secondary
#9AD3A0
accent
#DF5848
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CB46BD

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

Preview Lab → · Contrast checker → · Palette generator →

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