#CB3AC2#CB3AC2

#CB3AC2 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.2% C 0.231 H 330.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CB3AC2
RGBrgb(203, 58, 194)
HSLhsl(304, 58%, 51%)
HSVhsv(304, 71%, 80%)
CMYKcmyk(0%, 71.4%, 4.4%, 20.4%)
CIE-LABlab(51.41, 70.82, -41.04)
CIE-LCHlch(51.41, 81.85, 329.91°)
OKLaboklab(61.15% 0.2014 -0.1131)
OKLCHoklch(61.15% 0.231 330.7)
XYZxyz(35.8792, 19.6205, 52.9259)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3AC2 #3ACB43
analogous
#8B3ACB #CB3AC2 #CB3A79
triadic
#CB3AC2 #C2CB3A #3AC2CB
tetradic
#CB3AC2 #CB8B3A #3ACB43 #3A79CB
square
#CB3AC2 #CB8B3A #3ACB43 #3A79CB
split-complementary
#CB3AC2 #79CB3A #3ACB8B
monochromatic
#6E1D69 #9E2A97 #CB3AC2 #D86AD1 #E59BE0

Accessibility & contrast

On white

4.27
#CB3AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CB3AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3AC2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3AC2#FFFFFF#000000##000000
##CB3AC21.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#6681BE
Tritanopia (blue-blind)
#D34C7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb3ac2;
/* rgb */ color: rgb(203, 58, 194);
/* oklch */ color: oklch(61.2% 0.231 330.7);
Tailwind
colors: {
  custom: {
    50: '#df7ed5',
    500: '#cb3ac2',
    950: '#000000',
  },
}
SCSS
$custom: #cb3ac2;
$custom-light: #df7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3ac2",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 303.724,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61151,
    "c": 0.23096,
    "h": 330.7
  },
  "luminance": 0.19618
}

Semantic roles & 50–950 ramp

primary
#CB3AC2
secondary
#90D094
accent
#E15046
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB3AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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