#B02FE2#B02FE2

#B02FE2 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.5% C 0.256 H 314.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B02FE2
RGBrgb(176, 47, 226)
HSLhsl(283, 76%, 54%)
HSVhsv(283, 79%, 89%)
CMYKcmyk(22.1%, 79.2%, 0%, 11.4%)
CIE-LABlab(47.95, 74.51, -65.15)
CIE-LCHlch(47.95, 98.98, 318.84°)
OKLaboklab(58.49% 0.1778 -0.1842)
OKLCHoklch(58.49% 0.256 314)
XYZxyz(32.6461, 16.7553, 73.4512)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FE2 #61E22F
analogous
#562FE2 #B02FE2 #E22FBA
triadic
#B02FE2 #E2B02F #2FE2B0
tetradic
#B02FE2 #E2562F #61E22F #2FBAE2
square
#B02FE2 #E2562F #61E22F #2FBAE2
split-complementary
#B02FE2 #BAE22F #2FE256
monochromatic
#641284 #8D1ABA #B02FE2 #C465E9 #D99AF1

Accessibility & contrast

On white

4.83
#B02FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B02FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02FE2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02FE2#FFFFFF#000000##FFFFFF
##B02FE21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#1A75DE
Tritanopia (blue-blind)
#AB5B8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b02fe2;
/* rgb */ color: rgb(176, 47, 226);
/* oklch */ color: oklch(58.5% 0.256 314.0);
Tailwind
colors: {
  custom: {
    50: '#cd77ec',
    500: '#b02fe2',
    950: '#000000',
  },
}
SCSS
$custom: #b02fe2;
$custom-light: #cd77ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b02fe2",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 283.24,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58493,
    "c": 0.25603,
    "h": 314
  },
  "luminance": 0.16754
}

Semantic roles & 50–950 ramp

primary
#B02FE2
secondary
#A5DD90
accent
#F2366A
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B02FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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