#B03FE2#B03FE2

#B03FE2 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.8% C 0.240 H 313.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B03FE2
RGBrgb(176, 63, 226)
HSLhsl(282, 74%, 57%)
HSVhsv(282, 72%, 89%)
CMYKcmyk(22.1%, 72.1%, 0%, 11.4%)
CIE-LABlab(49.83, 69.11, -62.11)
CIE-LCHlch(49.83, 92.91, 318.05°)
OKLaboklab(59.82% 0.1645 -0.1754)
OKLCHoklch(59.82% 0.24 313.2)
XYZxyz(33.4070, 18.2771, 73.7048)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03FE2 #71E23F
analogous
#5F3FE2 #B03FE2 #E23FC3
triadic
#B03FE2 #E2B03F #3FE2B0
tetradic
#B03FE2 #E25F3F #71E23F #3FC3E2
square
#B03FE2 #E25F3F #71E23F #3FC3E2
split-complementary
#B03FE2 #C3E23F #3FE25F
monochromatic
#6B1691 #921EC6 #B03FE2 #C674EA #DCA9F2

Accessibility & contrast

On white

4.51
#B03FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B03FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B03FE2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03FE2#FFFFFF#000000##000000
##B03FE21.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#2F79DE
Tritanopia (blue-blind)
#AB638D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b03fe2;
/* rgb */ color: rgb(176, 63, 226);
/* oklch */ color: oklch(59.8% 0.240 313.2);
Tailwind
colors: {
  custom: {
    50: '#cc7eec',
    500: '#b03fe2',
    950: '#000000',
  },
}
SCSS
$custom: #b03fe2;
$custom-light: #cc7eec;
$custom-dark: #000000;
JSON
{
  "hex": "#b03fe2",
  "rgb": {
    "r": 176,
    "g": 63,
    "b": 226
  },
  "hsl": {
    "h": 281.595,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5982,
    "c": 0.24043,
    "h": 313.2
  },
  "luminance": 0.18276
}

Semantic roles & 50–950 ramp

primary
#B03FE2
secondary
#B2E09D
accent
#F03770
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B03FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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