#CB46BA#CB46BA

#CB46BA is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.8% C 0.211 H 333.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CB46BA
RGBrgb(203, 70, 186)
HSLhsl(308, 56%, 54%)
HSVhsv(308, 66%, 80%)
CMYKcmyk(0%, 65.5%, 8.4%, 20.4%)
CIE-LABlab(52.54, 65.28, -34.62)
CIE-LCHlch(52.54, 73.89, 332.06°)
OKLaboklab(61.84% 0.1883 -0.0947)
OKLCHoklch(61.84% 0.211 333.3)
XYZxyz(35.6818, 20.6248, 48.5465)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB46BA #46CB57
analogous
#9946CB #CB46BA #CB4677
triadic
#CB46BA #BACB46 #46BACB
tetradic
#CB46BA #CB9946 #46CB57 #4677CB
square
#CB46BA #CB9946 #46CB57 #4677CB
split-complementary
#CB46BA #77CB46 #46CB99
monochromatic
#76216B #A52E96 #CB46BA #D876CC #E6A6DE

Accessibility & contrast

On white

4.10
#CB46BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CB46BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB46BA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB46BA#FFFFFF#000000##000000
##CB46BA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4271BD
Deuteranopia (green-blind)
#6F84B7
Tritanopia (blue-blind)
#D4517A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb46ba;
/* rgb */ color: rgb(203, 70, 186);
/* oklch */ color: oklch(61.8% 0.211 333.3);
Tailwind
colors: {
  custom: {
    50: '#de83cf',
    500: '#cb46ba',
    950: '#000000',
  },
}
SCSS
$custom: #cb46ba;
$custom-light: #de83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb46ba",
  "rgb": {
    "r": 203,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 307.669,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6184,
    "c": 0.21082,
    "h": 333.3
  },
  "luminance": 0.20622
}

Semantic roles & 50–950 ramp

primary
#CB46BA
secondary
#9AD3A1
accent
#DF5C48
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CB46BA

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

Preview Lab → · Contrast checker → · Palette generator →

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