#B02EDB#B02EDB

#B02EDB is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.9% C 0.251 H 315.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B02EDB
RGBrgb(176, 46, 219)
HSLhsl(285, 71%, 52%)
HSVhsv(285, 79%, 86%)
CMYKcmyk(19.6%, 79%, 0%, 14.1%)
CIE-LABlab(47.37, 73.49, -62.11)
CIE-LCHlch(47.37, 96.22, 319.80°)
OKLaboklab(57.93% 0.1798 -0.1753)
OKLCHoklch(57.93% 0.251 315.7)
XYZxyz(31.6656, 16.2998, 68.4823)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EDB #59DB2E
analogous
#5A2EDB #B02EDB #DB2EAF
triadic
#B02EDB #DBB02E #2EDBB0
tetradic
#B02EDB #DB5A2E #59DB2E #2EAFDB
square
#B02EDB #DB5A2E #59DB2E #2EAFDB
split-complementary
#B02EDB #AFDB2E #2EDB5A
monochromatic
#61157A #8A1EAE #B02EDB #C462E4 #D796ED

Accessibility & contrast

On white

4.93
#B02EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B02EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EDB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EDB#FFFFFF#000000##FFFFFF
##B02EDB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#2874D7
Tritanopia (blue-blind)
#AD5785
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b02edb;
/* rgb */ color: rgb(176, 46, 219);
/* oklch */ color: oklch(57.9% 0.251 315.7);
Tailwind
colors: {
  custom: {
    50: '#cd77e7',
    500: '#b02edb',
    950: '#000000',
  },
}
SCSS
$custom: #b02edb;
$custom-light: #cd77e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b02edb",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 219
  },
  "hsl": {
    "h": 285.087,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5793,
    "c": 0.25113,
    "h": 315.7
  },
  "luminance": 0.16299
}

Semantic roles & 50–950 ramp

primary
#B02EDB
secondary
#9FD88D
accent
#ED3A67
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B02EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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