#CB3ACC#CB3ACC

#CB3ACC is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.7% C 0.238 H 327.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CB3ACC
RGBrgb(203, 58, 204)
HSLhsl(300, 59%, 51%)
HSVhsv(300, 72%, 80%)
CMYKcmyk(0.5%, 71.6%, 0%, 20%)
CIE-LABlab(51.93, 72.40, -45.96)
CIE-LCHlch(51.93, 85.76, 327.59°)
OKLaboklab(61.7% 0.2015 -0.1274)
OKLCHoklch(61.7% 0.238 327.7)
XYZxyz(37.0402, 20.0849, 59.0409)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3ACC #3BCC3A
analogous
#823ACC #CB3ACC #CC3A84
triadic
#CB3ACC #CCCB3A #3ACCCB
tetradic
#CB3ACC #CC823A #3BCC3A #3A84CC
square
#CB3ACC #CC823A #3BCC3A #3A84CC
split-complementary
#CB3ACC #84CC3A #3ACC82
monochromatic
#6E1D6F #9F29A0 #CB3ACC #D86BD9 #E59BE5

Accessibility & contrast

On white

4.19
#CB3ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CB3ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3ACC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3ACC#FFFFFF#000000##000000
##CB3ACC1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C70D0
Deuteranopia (green-blind)
#6082C8
Tritanopia (blue-blind)
#D15180
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb3acc;
/* rgb */ color: rgb(203, 58, 204);
/* oklch */ color: oklch(61.7% 0.238 327.7);
Tailwind
colors: {
  custom: {
    50: '#df7edc',
    500: '#cb3acc',
    950: '#000000',
  },
}
SCSS
$custom: #cb3acc;
$custom-light: #df7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3acc",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 299.589,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.617,
    "c": 0.23842,
    "h": 327.7
  },
  "luminance": 0.20082
}

Semantic roles & 50–950 ramp

primary
#CB3ACC
secondary
#91D191
accent
#E24647
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CB3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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