#B023E2#B023E2

#B023E2 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.7% C 0.265 H 314.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B023E2
RGBrgb(176, 35, 226)
HSLhsl(284, 77%, 51%)
HSVhsv(284, 85%, 89%)
CMYKcmyk(22.1%, 84.5%, 0%, 11.4%)
CIE-LABlab(46.88, 77.66, -66.89)
CIE-LCHlch(46.88, 102.49, 319.26°)
OKLaboklab(57.74% 0.1855 -0.1893)
OKLCHoklch(57.74% 0.265 314.4)
XYZxyz(32.2307, 15.9243, 73.3127)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B023E2 #55E223
analogous
#5023E2 #B023E2 #E223B5
triadic
#B023E2 #E2B023 #23E2B0
tetradic
#B023E2 #E25023 #55E223 #23B5E2
square
#B023E2 #E25023 #55E223 #23B5E2
split-complementary
#B023E2 #B5E223 #23E250
monochromatic
#5F107A #8817B1 #B023E2 #C359E9 #D78FF0

Accessibility & contrast

On white

5.02
#B023E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B023E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B023E2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B023E2#FFFFFF#000000##FFFFFF
##B023E21.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#0272DE
Tritanopia (blue-blind)
#AB5688
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b023e2;
/* rgb */ color: rgb(176, 35, 226);
/* oklch */ color: oklch(57.7% 0.265 314.4);
Tailwind
colors: {
  custom: {
    50: '#cd73ec',
    500: '#b023e2',
    950: '#000000',
  },
}
SCSS
$custom: #b023e2;
$custom-light: #cd73ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b023e2",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 226
  },
  "hsl": {
    "h": 284.293,
    "s": 76.707,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57742,
    "c": 0.26505,
    "h": 314.4
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#B023E2
secondary
#9CDB86
accent
#F33566
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140916
muted
#837B84

Preview Lab

Preview with #B023E2

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

Preview Lab → · Contrast checker → · Palette generator →

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