#B03DAF#B03DAF

#B03DAF is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.5% C 0.199 H 328.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B03DAF
RGBrgb(176, 61, 175)
HSLhsl(301, 49%, 46%)
HSVhsv(301, 65%, 69%)
CMYKcmyk(0%, 65.3%, 0.6%, 31%)
CIE-LABlab(46.53, 60.41, -37.93)
CIE-LCHlch(46.53, 71.33, 327.88°)
OKLaboklab(56.49% 0.1688 -0.1048)
OKLCHoklch(56.49% 0.199 328.2)
XYZxyz(27.3108, 15.6646, 42.1342)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03DAF #3DB03E
analogous
#783DB0 #B03DAF #B03D76
triadic
#B03DAF #AFB03D #3DAFB0
tetradic
#B03DAF #B0783D #3DB03E #3D76B0
square
#B03DAF #B0783D #3DB03E #3D76B0
split-complementary
#B03DAF #76B03D #3DB078
monochromatic
#551D55 #832D82 #B03DAF #C862C8 #D88FD8

Accessibility & contrast

On white

5.08
#B03DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B03DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03DAF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03DAF#FFFFFF#000000##FFFFFF
##B03DAF1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E65B2
Deuteranopia (green-blind)
#5A74AC
Tritanopia (blue-blind)
#B54C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b03daf;
/* rgb */ color: rgb(176, 61, 175);
/* oklch */ color: oklch(56.5% 0.199 328.2);
Tailwind
colors: {
  custom: {
    50: '#cb7bc7',
    500: '#b03daf',
    950: '#000000',
  },
}
SCSS
$custom: #b03daf;
$custom-light: #cb7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b03daf",
  "rgb": {
    "r": 176,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 300.522,
    "s": 48.523,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56488,
    "c": 0.19867,
    "h": 328.2
  },
  "luminance": 0.15663
}

Semantic roles & 50–950 ramp

primary
#B03DAF
secondary
#86C386
accent
#D85150
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B03DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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