#CB46BC#CB46BC

#CB46BC is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.9% C 0.212 H 332.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CB46BC
RGBrgb(203, 70, 188)
HSLhsl(307, 56%, 54%)
HSVhsv(307, 66%, 80%)
CMYKcmyk(0%, 65.5%, 7.4%, 20.4%)
CIE-LABlab(52.63, 65.59, -35.63)
CIE-LCHlch(52.63, 74.65, 331.49°)
OKLaboklab(61.94% 0.1885 -0.0976)
OKLCHoklch(61.94% 0.212 332.6)
XYZxyz(35.8959, 20.7105, 49.6741)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB46BC #46CB55
analogous
#9746CB #CB46BC #CB4679
triadic
#CB46BC #BCCB46 #46BCCB
tetradic
#CB46BC #CB9746 #46CB55 #4679CB
square
#CB46BC #CB9746 #46CB55 #4679CB
split-complementary
#CB46BC #79CB46 #46CB97
monochromatic
#76216C #A52E98 #CB46BC #D876CD #E6A6DF

Accessibility & contrast

On white

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

On black

5.14
#CB46BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB46BC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB46BC#FFFFFF#000000##000000
##CB46BC1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4171BF
Deuteranopia (green-blind)
#6E84B9
Tritanopia (blue-blind)
#D4527B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb46bc;
/* rgb */ color: rgb(203, 70, 188);
/* oklch */ color: oklch(61.9% 0.212 332.6);
Tailwind
colors: {
  custom: {
    50: '#de83d0',
    500: '#cb46bc',
    950: '#000000',
  },
}
SCSS
$custom: #cb46bc;
$custom-light: #de83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb46bc",
  "rgb": {
    "r": 203,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 306.767,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6194,
    "c": 0.21231,
    "h": 332.6
  },
  "luminance": 0.20708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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