#B03DB2#B03DB2

#B03DB2 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.7% C 0.201 H 327.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B03DB2
RGBrgb(176, 61, 178)
HSLhsl(299, 49%, 47%)
HSVhsv(299, 66%, 70%)
CMYKcmyk(1.1%, 65.7%, 0%, 30.2%)
CIE-LABlab(46.69, 60.92, -39.44)
CIE-LCHlch(46.69, 72.58, 327.08°)
OKLaboklab(56.65% 0.1689 -0.1092)
OKLCHoklch(56.65% 0.201 327.1)
XYZxyz(27.6087, 15.7838, 43.7033)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03DB2 #3FB23D
analogous
#753DB2 #B03DB2 #B23D7A
triadic
#B03DB2 #B2B03D #3DB2B0
tetradic
#B03DB2 #B2753D #3FB23D #3D7AB2
square
#B03DB2 #B2753D #3FB23D #3D7AB2
split-complementary
#B03DB2 #7AB23D #3DB275
monochromatic
#561E57 #832D84 #B03DB2 #C863C9 #D890D9

Accessibility & contrast

On white

5.05
#B03DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B03DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03DB2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03DB2#FFFFFF#000000##FFFFFF
##B03DB21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B65B5
Deuteranopia (green-blind)
#5874AF
Tritanopia (blue-blind)
#B54D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b03db2;
/* rgb */ color: rgb(176, 61, 178);
/* oklch */ color: oklch(56.7% 0.201 327.1);
Tailwind
colors: {
  custom: {
    50: '#cb7cc9',
    500: '#b03db2',
    950: '#000000',
  },
}
SCSS
$custom: #b03db2;
$custom-light: #cb7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b03db2",
  "rgb": {
    "r": 176,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 298.974,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56653,
    "c": 0.20112,
    "h": 327.1
  },
  "luminance": 0.15782
}

Semantic roles & 50–950 ramp

primary
#B03DB2
secondary
#88C487
accent
#D94F52
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B03DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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