#B02EC9#B02EC9

#B02EC9 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.7% C 0.237 H 320.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B02EC9
RGBrgb(176, 46, 201)
HSLhsl(290, 63%, 48%)
HSVhsv(290, 77%, 79%)
CMYKcmyk(12.4%, 77.1%, 0%, 21.2%)
CIE-LABlab(46.18, 70.21, -53.67)
CIE-LCHlch(46.18, 88.38, 322.61°)
OKLaboklab(56.72% 0.1824 -0.1505)
OKLCHoklch(56.72% 0.237 320.5)
XYZxyz(29.4228, 15.4027, 56.6702)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EC9 #47C92E
analogous
#632EC9 #B02EC9 #C92E94
triadic
#B02EC9 #C9B02E #2EC9B0
tetradic
#B02EC9 #C9632E #47C92E #2E94C9
square
#B02EC9 #C9632E #47C92E #2E94C9
split-complementary
#B02EC9 #94C92E #2EC963
monochromatic
#591765 #842397 #B02EC9 #C55BD9 #D78DE5

Accessibility & contrast

On white

5.15
#B02EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B02EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EC9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EC9#FFFFFF#000000##FFFFFF
##B02EC91.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#3F72C6
Tritanopia (blue-blind)
#B14F7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b02ec9;
/* rgb */ color: rgb(176, 46, 201);
/* oklch */ color: oklch(56.7% 0.237 320.5);
Tailwind
colors: {
  custom: {
    50: '#cc76da',
    500: '#b02ec9',
    950: '#000000',
  },
}
SCSS
$custom: #b02ec9;
$custom-light: #cc76da;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ec9",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 290.323,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5672,
    "c": 0.23653,
    "h": 320.5
  },
  "luminance": 0.15401
}

Semantic roles & 50–950 ramp

primary
#B02EC9
secondary
#90CF84
accent
#E6425C
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B02EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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