#B02EBB#B02EBB

#B02EBB is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.8% C 0.225 H 324.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B02EBB
RGBrgb(176, 46, 187)
HSLhsl(295, 61%, 46%)
HSVhsv(295, 75%, 73%)
CMYKcmyk(5.9%, 75.4%, 0%, 26.7%)
CIE-LABlab(45.32, 67.78, -46.90)
CIE-LCHlch(45.32, 82.42, 325.32°)
OKLaboklab(55.84% 0.1836 -0.1307)
OKLCHoklch(55.84% 0.225 324.6)
XYZxyz(27.8504, 14.7737, 48.3888)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EBB #39BB2E
analogous
#692EBB #B02EBB #BB2E7F
triadic
#B02EBB #BBB02E #2EBBB0
tetradic
#B02EBB #BB692E #39BB2E #2E7FBB
square
#B02EBB #BB692E #39BB2E #2E7FBB
split-complementary
#B02EBB #7FBB2E #2EBB69
monochromatic
#541659 #82228A #B02EBB #CA52D4 #D983E0

Accessibility & contrast

On white

5.31
#B02EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B02EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EBB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EBB#FFFFFF#000000##FFFFFF
##B02EBB1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#4B70B8
Tritanopia (blue-blind)
#B44873
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b02ebb;
/* rgb */ color: rgb(176, 46, 187);
/* oklch */ color: oklch(55.8% 0.225 324.6);
Tailwind
colors: {
  custom: {
    50: '#cc75d0',
    500: '#b02ebb',
    950: '#000000',
  },
}
SCSS
$custom: #b02ebb;
$custom-light: #cc75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ebb",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 295.319,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55837,
    "c": 0.22542,
    "h": 324.6
  },
  "luminance": 0.14772
}

Semantic roles & 50–950 ramp

primary
#B02EBB
secondary
#81CA7B
accent
#E44451
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B02EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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