#B02BE2#B02BE2

#B02BE2 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 58.2% C 0.259 H 314.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B02BE2
RGBrgb(176, 43, 226)
HSLhsl(284, 76%, 53%)
HSVhsv(284, 81%, 89%)
CMYKcmyk(22.1%, 81%, 0%, 11.4%)
CIE-LABlab(47.56, 75.65, -65.78)
CIE-LCHlch(47.56, 100.25, 318.99°)
OKLaboklab(58.22% 0.1806 -0.1861)
OKLCHoklch(58.22% 0.259 314.1)
XYZxyz(32.4935, 16.4500, 73.4003)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02BE2 #5DE22B
analogous
#552BE2 #B02BE2 #E22BB8
triadic
#B02BE2 #E2B02B #2BE2B0
tetradic
#B02BE2 #E2552B #5DE22B #2BB8E2
square
#B02BE2 #E2552B #5DE22B #2BB8E2
split-complementary
#B02BE2 #B8E22B #2BE255
monochromatic
#631281 #8C19B7 #B02BE2 #C461E9 #D897F1

Accessibility & contrast

On white

4.90
#B02BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B02BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02BE2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02BE2#FFFFFF#000000##FFFFFF
##B02BE21.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#1474DE
Tritanopia (blue-blind)
#AB5989
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b02be2;
/* rgb */ color: rgb(176, 43, 226);
/* oklch */ color: oklch(58.2% 0.259 314.1);
Tailwind
colors: {
  custom: {
    50: '#cd76ec',
    500: '#b02be2',
    950: '#000000',
  },
}
SCSS
$custom: #b02be2;
$custom-light: #cd76ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b02be2",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 226
  },
  "hsl": {
    "h": 283.607,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5822,
    "c": 0.2593,
    "h": 314.1
  },
  "luminance": 0.16449
}

Semantic roles & 50–950 ramp

primary
#B02BE2
secondary
#A2DC8D
accent
#F33569
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B02BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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