#CB46B7#CB46B7

#CB46B7 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.7% C 0.209 H 334.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CB46B7
RGBrgb(203, 70, 183)
HSLhsl(309, 56%, 54%)
HSVhsv(309, 66%, 80%)
CMYKcmyk(0%, 65.5%, 9.9%, 20.4%)
CIE-LABlab(52.40, 64.82, -33.10)
CIE-LCHlch(52.40, 72.78, 332.95°)
OKLaboklab(61.69% 0.188 -0.0904)
OKLCHoklch(61.69% 0.209 334.3)
XYZxyz(35.3663, 20.4986, 46.8845)
Luminance0.2050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB46B7 #46CB5A
analogous
#9D46CB #CB46B7 #CB4674
triadic
#CB46B7 #B7CB46 #46B7CB
tetradic
#CB46B7 #CB9D46 #46CB5A #4674CB
square
#CB46B7 #CB9D46 #46CB5A #4674CB
split-complementary
#CB46B7 #74CB46 #46CB9D
monochromatic
#762169 #A52E93 #CB46B7 #D876CA #E6A6DC

Accessibility & contrast

On white

4.12
#CB46B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CB46B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB46B7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB46B7#FFFFFF#000000##000000
##CB46B71.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4470BA
Deuteranopia (green-blind)
#7184B4
Tritanopia (blue-blind)
#D45078
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb46b7;
/* rgb */ color: rgb(203, 70, 183);
/* oklch */ color: oklch(61.7% 0.209 334.3);
Tailwind
colors: {
  custom: {
    50: '#de83cd',
    500: '#cb46b7',
    950: '#000000',
  },
}
SCSS
$custom: #cb46b7;
$custom-light: #de83cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb46b7",
  "rgb": {
    "r": 203,
    "g": 70,
    "b": 183
  },
  "hsl": {
    "h": 309.023,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61693,
    "c": 0.2086,
    "h": 334.3
  },
  "luminance": 0.20496
}

Semantic roles & 50–950 ramp

primary
#CB46B7
secondary
#9AD3A2
accent
#DF5F48
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB46B7

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

Preview Lab → · Contrast checker → · Palette generator →

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