#B230A1#B230A1

#B230A1 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.205 H 333.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B230A1
RGBrgb(178, 48, 161)
HSLhsl(308, 58%, 44%)
HSVhsv(308, 73%, 70%)
CMYKcmyk(0%, 73%, 9.6%, 30.2%)
CIE-LABlab(44.45, 63.38, -32.88)
CIE-LCHlch(44.45, 71.40, 332.58°)
OKLaboklab(54.82% 0.1838 -0.0901)
OKLCHoklch(54.82% 0.205 333.9)
XYZxyz(25.8503, 14.1543, 35.0819)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230A1 #30B241
analogous
#8230B2 #B230A1 #B23060
triadic
#B230A1 #A1B230 #30A1B2
tetradic
#B230A1 #B28230 #30B241 #3060B2
square
#B230A1 #B28230 #30B241 #3060B2
split-complementary
#B230A1 #60B230 #30B282
monochromatic
#52164A #822375 #B230A1 #D050BF #DD80D1

Accessibility & contrast

On white

5.48
#B230A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B230A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230A1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230A1#FFFFFF#000000##FFFFFF
##B230A11.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5DA4
Deuteranopia (green-blind)
#5C709E
Tritanopia (blue-blind)
#BA3C65
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b230a1;
/* rgb */ color: rgb(178, 48, 161);
/* oklch */ color: oklch(54.8% 0.205 333.9);
Tailwind
colors: {
  custom: {
    50: '#cd75bd',
    500: '#b230a1',
    950: '#000000',
  },
}
SCSS
$custom: #b230a1;
$custom-light: #cd75bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b230a1",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 161
  },
  "hsl": {
    "h": 307.846,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54819,
    "c": 0.20463,
    "h": 333.9
  },
  "luminance": 0.14152
}

Semantic roles & 50–950 ramp

primary
#B230A1
secondary
#78C682
accent
#E15B47
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B230A1

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

Preview Lab → · Contrast checker → · Palette generator →

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