#CB3AC7#CB3AC7

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

Color values

HEX#CB3AC7
RGBrgb(203, 58, 199)
HSLhsl(302, 58%, 51%)
HSVhsv(302, 71%, 80%)
CMYKcmyk(0%, 71.4%, 2%, 20.4%)
CIE-LABlab(51.67, 71.60, -43.51)
CIE-LCHlch(51.67, 83.79, 328.71°)
OKLaboklab(61.42% 0.2015 -0.1203)
OKLCHoklch(61.42% 0.235 329.2)
XYZxyz(36.4502, 19.8489, 55.9332)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3AC7 #3ACB3E
analogous
#863ACB #CB3AC7 #CB3A7E
triadic
#CB3AC7 #C7CB3A #3AC7CB
tetradic
#CB3AC7 #CB863A #3ACB3E #3A7ECB
square
#CB3AC7 #CB863A #3ACB3E #3A7ECB
split-complementary
#CB3AC7 #7ECB3A #3ACB86
monochromatic
#6E1D6B #9E2A9B #CB3AC7 #D86AD5 #E59BE3

Accessibility & contrast

On white

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

On black

4.97
#CB3AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3AC7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3AC7#FFFFFF#000000##000000
##CB3AC71.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#6382C3
Tritanopia (blue-blind)
#D24E7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb3ac7;
/* rgb */ color: rgb(203, 58, 199);
/* oklch */ color: oklch(61.4% 0.235 329.2);
Tailwind
colors: {
  custom: {
    50: '#df7ed8',
    500: '#cb3ac7',
    950: '#000000',
  },
}
SCSS
$custom: #cb3ac7;
$custom-light: #df7ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3ac7",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 199
  },
  "hsl": {
    "h": 301.655,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61423,
    "c": 0.23466,
    "h": 329.2
  },
  "luminance": 0.19846
}

Semantic roles & 50–950 ramp

primary
#CB3AC7
secondary
#90D092
accent
#E14B46
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB3AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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