#B02FD3#B02FD3

#B02FD3 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.5% C 0.244 H 317.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B02FD3
RGBrgb(176, 47, 211)
HSLhsl(287, 65%, 51%)
HSVhsv(287, 78%, 83%)
CMYKcmyk(16.6%, 77.7%, 0%, 17.3%)
CIE-LABlab(46.93, 71.72, -58.23)
CIE-LCHlch(46.93, 92.38, 320.93°)
OKLaboklab(57.46% 0.1804 -0.1639)
OKLCHoklch(57.46% 0.244 317.7)
XYZxyz(30.6772, 15.9677, 63.0815)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FD3 #52D32F
analogous
#5E2FD3 #B02FD3 #D32FA4
triadic
#B02FD3 #D3B02F #2FD3B0
tetradic
#B02FD3 #D35E2F #52D32F #2FA4D3
square
#B02FD3 #D35E2F #52D32F #2FA4D3
split-complementary
#B02FD3 #A4D32F #2FD35E
monochromatic
#5D1870 #8722A2 #B02FD3 #C362DE #D694E8

Accessibility & contrast

On white

5.01
#B02FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B02FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02FD3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02FD3#FFFFFF#000000##FFFFFF
##B02FD31.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#3573CF
Tritanopia (blue-blind)
#AF5481
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b02fd3;
/* rgb */ color: rgb(176, 47, 211);
/* oklch */ color: oklch(57.5% 0.244 317.7);
Tailwind
colors: {
  custom: {
    50: '#cc77e1',
    500: '#b02fd3',
    950: '#000000',
  },
}
SCSS
$custom: #b02fd3;
$custom-light: #cc77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02fd3",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 211
  },
  "hsl": {
    "h": 287.195,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57456,
    "c": 0.24371,
    "h": 317.7
  },
  "luminance": 0.15966
}

Semantic roles & 50–950 ramp

primary
#B02FD3
secondary
#9AD38A
accent
#E84064
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B02FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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