#B03CD2#B03CD2

#B03CD2 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.5% C 0.230 H 317.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B03CD2
RGBrgb(176, 60, 210)
HSLhsl(286, 63%, 53%)
HSVhsv(286, 71%, 82%)
CMYKcmyk(16.2%, 71.4%, 0%, 17.6%)
CIE-LABlab(48.41, 67.12, -55.28)
CIE-LCHlch(48.41, 86.95, 320.53°)
OKLaboklab(58.48% 0.1691 -0.1553)
OKLCHoklch(58.48% 0.23 317.4)
XYZxyz(31.1515, 17.1163, 62.6231)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03CD2 #5ED23C
analogous
#653CD2 #B03CD2 #D23CA9
triadic
#B03CD2 #D2B03C #3CD2B0
tetradic
#B03CD2 #D2653C #5ED23C #3CA9D2
square
#B03CD2 #D2653C #5ED23C #3CA9D2
split-complementary
#B03CD2 #A9D23C #3CD265
monochromatic
#631C78 #8C27AA #B03CD2 #C46EDD #D89FE9

Accessibility & contrast

On white

4.75
#B03CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B03CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03CD2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03CD2#FFFFFF#000000##FFFFFF
##B03CD21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#4076CF
Tritanopia (blue-blind)
#AF5A84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b03cd2;
/* rgb */ color: rgb(176, 60, 210);
/* oklch */ color: oklch(58.5% 0.230 317.4);
Tailwind
colors: {
  custom: {
    50: '#cc7ce0',
    500: '#b03cd2',
    950: '#000000',
  },
}
SCSS
$custom: #b03cd2;
$custom-light: #cc7ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#b03cd2",
  "rgb": {
    "r": 176,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 286.4,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5848,
    "c": 0.22961,
    "h": 317.4
  },
  "luminance": 0.17115
}

Semantic roles & 50–950 ramp

primary
#B03CD2
secondary
#A3D594
accent
#E64267
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B03CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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