#B03DD2#B03DD2

#B03DD2 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.6% C 0.228 H 317.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B03DD2
RGBrgb(176, 61, 210)
HSLhsl(286, 62%, 53%)
HSVhsv(286, 71%, 82%)
CMYKcmyk(16.2%, 71%, 0%, 17.6%)
CIE-LABlab(48.54, 66.74, -55.07)
CIE-LCHlch(48.54, 86.53, 320.48°)
OKLaboklab(58.57% 0.1681 -0.1547)
OKLCHoklch(58.57% 0.228 317.4)
XYZxyz(31.2044, 17.2221, 62.6408)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03DD2 #5FD23D
analogous
#653DD2 #B03DD2 #D23DA9
triadic
#B03DD2 #D2B03D #3DD2B0
tetradic
#B03DD2 #D2653D #5FD23D #3DA9D2
square
#B03DD2 #D2653D #5FD23D #3DA9D2
split-complementary
#B03DD2 #A9D23D #3DD265
monochromatic
#631C79 #8C28AA #B03DD2 #C46FDE #D8A0E9

Accessibility & contrast

On white

4.73
#B03DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B03DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03DD2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03DD2#FFFFFF#000000##FFFFFF
##B03DD21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b03dd2;
/* rgb */ color: rgb(176, 61, 210);
/* oklch */ color: oklch(58.6% 0.228 317.4);
Tailwind
colors: {
  custom: {
    50: '#cc7de0',
    500: '#b03dd2',
    950: '#000000',
  },
}
SCSS
$custom: #b03dd2;
$custom-light: #cc7de0;
$custom-dark: #000000;
JSON
{
  "hex": "#b03dd2",
  "rgb": {
    "r": 176,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 286.309,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58574,
    "c": 0.22848,
    "h": 317.4
  },
  "luminance": 0.17221
}

Semantic roles & 50–950 ramp

primary
#B03DD2
secondary
#A4D695
accent
#E54268
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B03DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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