#B03FAF#B03FAF

#B03FAF is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.7% C 0.196 H 328.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B03FAF
RGBrgb(176, 63, 175)
HSLhsl(301, 47%, 47%)
HSVhsv(301, 64%, 69%)
CMYKcmyk(0%, 64.2%, 0.6%, 31%)
CIE-LABlab(46.82, 59.60, -37.48)
CIE-LCHlch(46.82, 70.41, 327.84°)
OKLaboklab(56.7% 0.1665 -0.1035)
OKLCHoklch(56.7% 0.196 328.1)
XYZxyz(27.4195, 15.8821, 42.1705)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03FAF #3FB040
analogous
#793FB0 #B03FAF #B03F77
triadic
#B03FAF #AFB03F #3FAFB0
tetradic
#B03FAF #B0793F #3FB040 #3F77B0
square
#B03FAF #B0793F #3FB040 #3F77B0
split-complementary
#B03FAF #77B03F #3FB079
monochromatic
#561F55 #832F82 #B03FAF #C865C7 #D892D7

Accessibility & contrast

On white

5.03
#B03FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B03FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03FAF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03FAF#FFFFFF#000000##FFFFFF
##B03FAF1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B2
Deuteranopia (green-blind)
#5B74AC
Tritanopia (blue-blind)
#B54E72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b03faf;
/* rgb */ color: rgb(176, 63, 175);
/* oklch */ color: oklch(56.7% 0.196 328.1);
Tailwind
colors: {
  custom: {
    50: '#cb7cc7',
    500: '#b03faf',
    950: '#000000',
  },
}
SCSS
$custom: #b03faf;
$custom-light: #cb7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b03faf",
  "rgb": {
    "r": 176,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 300.531,
    "s": 47.28,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56696,
    "c": 0.19605,
    "h": 328.1
  },
  "luminance": 0.1588
}

Semantic roles & 50–950 ramp

primary
#B03FAF
secondary
#88C388
accent
#D75251
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B03FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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