#CB3AC6#CB3AC6

#CB3AC6 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.4% C 0.234 H 329.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CB3AC6
RGBrgb(203, 58, 198)
HSLhsl(302, 58%, 51%)
HSVhsv(302, 71%, 80%)
CMYKcmyk(0%, 71.4%, 2.5%, 20.4%)
CIE-LABlab(51.61, 71.44, -43.02)
CIE-LCHlch(51.61, 83.40, 328.95°)
OKLaboklab(61.37% 0.2015 -0.1188)
OKLCHoklch(61.37% 0.234 329.5)
XYZxyz(36.3344, 19.8026, 55.3237)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3AC6 #3ACB3F
analogous
#873ACB #CB3AC6 #CB3A7D
triadic
#CB3AC6 #C6CB3A #3AC6CB
tetradic
#CB3AC6 #CB873A #3ACB3F #3A7DCB
square
#CB3AC6 #CB873A #3ACB3F #3A7DCB
split-complementary
#CB3AC6 #7DCB3A #3ACB87
monochromatic
#6E1D6B #9E2A9A #CB3AC6 #D86AD4 #E59BE2

Accessibility & contrast

On white

4.23
#CB3AC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CB3AC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3AC6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3AC6#FFFFFF#000000##000000
##CB3AC61.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#266FCA
Deuteranopia (green-blind)
#6482C2
Tritanopia (blue-blind)
#D24E7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb3ac6;
/* rgb */ color: rgb(203, 58, 198);
/* oklch */ color: oklch(61.4% 0.234 329.5);
Tailwind
colors: {
  custom: {
    50: '#df7ed8',
    500: '#cb3ac6',
    950: '#000000',
  },
}
SCSS
$custom: #cb3ac6;
$custom-light: #df7ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3ac6",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 302.069,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61368,
    "c": 0.23392,
    "h": 329.5
  },
  "luminance": 0.198
}

Semantic roles & 50–950 ramp

primary
#CB3AC6
secondary
#90D093
accent
#E14C46
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB3AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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