#B023A8#B023A8

#B023A8 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.221 H 330.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B023A8
RGBrgb(176, 35, 168)
HSLhsl(303, 67%, 41%)
HSVhsv(303, 80%, 69%)
CMYKcmyk(0%, 80.1%, 4.5%, 31%)
CIE-LABlab(43.15, 67.81, -39.13)
CIE-LCHlch(43.15, 78.29, 330.01°)
OKLaboklab(53.94% 0.193 -0.1081)
OKLCHoklch(53.94% 0.221 330.8)
XYZxyz(25.5734, 13.2614, 38.2510)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B023A8 #23B02B
analogous
#7223B0 #B023A8 #B02362
triadic
#B023A8 #A8B023 #23A8B0
tetradic
#B023A8 #B07223 #23B02B #2362B0
square
#B023A8 #B07223 #23B02B #2362B0
split-complementary
#B023A8 #62B023 #23B072
monochromatic
#4A0F47 #7D1977 #B023A8 #D839CF #E26CDB

Accessibility & contrast

On white

5.75
#B023A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B023A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B023A8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B023A8#FFFFFF#000000##FFFFFF
##B023A81.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5AAB
Deuteranopia (green-blind)
#526DA5
Tritanopia (blue-blind)
#B73866
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b023a8;
/* rgb */ color: rgb(176, 35, 168);
/* oklch */ color: oklch(53.9% 0.221 330.8);
Tailwind
colors: {
  custom: {
    50: '#cc70c2',
    500: '#b023a8',
    950: '#000000',
  },
}
SCSS
$custom: #b023a8;
$custom-light: #cc70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b023a8",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 303.404,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53943,
    "c": 0.22123,
    "h": 330.8
  },
  "luminance": 0.13259
}

Semantic roles & 50–950 ramp

primary
#B023A8
secondary
#67C86C
accent
#EA483E
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B023A8

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

Preview Lab → · Contrast checker → · Palette generator →

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