#B02EBD#B02EBD

#B02EBD is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.227 H 323.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B02EBD
RGBrgb(176, 46, 189)
HSLhsl(295, 61%, 46%)
HSVhsv(295, 76%, 74%)
CMYKcmyk(6.9%, 75.7%, 0%, 25.9%)
CIE-LABlab(45.44, 68.12, -47.88)
CIE-LCHlch(45.44, 83.26, 324.90°)
OKLaboklab(55.96% 0.1835 -0.1336)
OKLCHoklch(55.96% 0.227 323.9)
XYZxyz(28.0660, 14.8600, 49.5242)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02EBD #3BBD2E
analogous
#682EBD #B02EBD #BD2E82
triadic
#B02EBD #BDB02E #2EBDB0
tetradic
#B02EBD #BD682E #3BBD2E #2E82BD
square
#B02EBD #BD682E #3BBD2E #2E82BD
split-complementary
#B02EBD #82BD2E #2EBD68
monochromatic
#54165B #82228C #B02EBD #C953D5 #D984E1

Accessibility & contrast

On white

5.29
#B02EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B02EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02EBD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02EBD#FFFFFF#000000##FFFFFF
##B02EBD1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#4971BA
Tritanopia (blue-blind)
#B34974
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b02ebd;
/* rgb */ color: rgb(176, 46, 189);
/* oklch */ color: oklch(56.0% 0.227 323.9);
Tailwind
colors: {
  custom: {
    50: '#cc75d1',
    500: '#b02ebd',
    950: '#000000',
  },
}
SCSS
$custom: #b02ebd;
$custom-light: #cc75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ebd",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 294.545,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5596,
    "c": 0.22699,
    "h": 323.9
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#B02EBD
secondary
#83CA7C
accent
#E44452
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B02EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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