#B03ED2#B03ED2

#B03ED2 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.7% C 0.227 H 317.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B03ED2
RGBrgb(176, 62, 210)
HSLhsl(286, 62%, 53%)
HSVhsv(286, 70%, 82%)
CMYKcmyk(16.2%, 70.5%, 0%, 17.6%)
CIE-LABlab(48.67, 66.36, -54.85)
CIE-LCHlch(48.67, 86.10, 320.43°)
OKLaboklab(58.67% 0.1671 -0.1541)
OKLCHoklch(58.67% 0.227 317.3)
XYZxyz(31.2583, 17.3298, 62.6587)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03ED2 #60D23E
analogous
#663ED2 #B03ED2 #D23EAA
triadic
#B03ED2 #D2B03E #3ED2B0
tetradic
#B03ED2 #D2663E #60D23E #3EAAD2
square
#B03ED2 #D2663E #60D23E #3EAAD2
split-complementary
#B03ED2 #AAD23E #3ED266
monochromatic
#641C79 #8D28AB #B03ED2 #C470DE #D9A1E9

Accessibility & contrast

On white

4.70
#B03ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B03ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03ED2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03ED2#FFFFFF#000000##FFFFFF
##B03ED21.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#4277CF
Tritanopia (blue-blind)
#AF5C84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b03ed2;
/* rgb */ color: rgb(176, 62, 210);
/* oklch */ color: oklch(58.7% 0.227 317.3);
Tailwind
colors: {
  custom: {
    50: '#cc7de0',
    500: '#b03ed2',
    950: '#000000',
  },
}
SCSS
$custom: #b03ed2;
$custom-light: #cc7de0;
$custom-dark: #000000;
JSON
{
  "hex": "#b03ed2",
  "rgb": {
    "r": 176,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 286.216,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5867,
    "c": 0.22733,
    "h": 317.3
  },
  "luminance": 0.17328
}

Semantic roles & 50–950 ramp

primary
#B03ED2
secondary
#A5D696
accent
#E54368
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B03ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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