#B03CA2#B03CA2

#B03CA2 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.7% C 0.190 H 333.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B03CA2
RGBrgb(176, 60, 162)
HSLhsl(307, 49%, 46%)
HSVhsv(307, 66%, 69%)
CMYKcmyk(0%, 65.9%, 8%, 31%)
CIE-LABlab(45.73, 58.66, -31.49)
CIE-LCHlch(45.73, 66.58, 331.77°)
OKLaboklab(55.7% 0.1689 -0.0862)
OKLCHoklch(55.7% 0.19 333)
XYZxyz(26.0420, 15.0725, 35.7131)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03CA2 #3CB04A
analogous
#843CB0 #B03CA2 #B03C68
triadic
#B03CA2 #A2B03C #3CA2B0
tetradic
#B03CA2 #B0843C #3CB04A #3C68B0
square
#B03CA2 #B0843C #3CB04A #3C68B0
split-complementary
#B03CA2 #68B03C #3CB084
monochromatic
#551D4E #822C78 #B03CA2 #C960BC #D88ECF

Accessibility & contrast

On white

5.23
#B03CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B03CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03CA2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03CA2#FFFFFF#000000##FFFFFF
##B03CA21.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3862A5
Deuteranopia (green-blind)
#60729F
Tritanopia (blue-blind)
#B8466A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b03ca2;
/* rgb */ color: rgb(176, 60, 162);
/* oklch */ color: oklch(55.7% 0.190 333.0);
Tailwind
colors: {
  custom: {
    50: '#cb7bbe',
    500: '#b03ca2',
    950: '#000000',
  },
}
SCSS
$custom: #b03ca2;
$custom-light: #cb7bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b03ca2",
  "rgb": {
    "r": 176,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 307.241,
    "s": 49.153,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55697,
    "c": 0.18964,
    "h": 333
  },
  "luminance": 0.1507
}

Semantic roles & 50–950 ramp

primary
#B03CA2
secondary
#85C38C
accent
#D9604F
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B03CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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