#B230AC#B230AC

#B230AC is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.213 H 330.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B230AC
RGBrgb(178, 48, 172)
HSLhsl(303, 58%, 44%)
HSVhsv(303, 73%, 70%)
CMYKcmyk(0%, 73%, 3.4%, 30.2%)
CIE-LABlab(45.02, 65.09, -38.52)
CIE-LCHlch(45.02, 75.63, 329.38°)
OKLaboklab(55.41% 0.1843 -0.1063)
OKLCHoklch(55.41% 0.213 330)
XYZxyz(26.8633, 14.5595, 40.4171)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230AC #30B236
analogous
#7730B2 #B230AC #B2306B
triadic
#B230AC #ACB230 #30ACB2
tetradic
#B230AC #B27730 #30B236 #306BB2
square
#B230AC #B27730 #30B236 #306BB2
split-complementary
#B230AC #6BB230 #30B277
monochromatic
#52164F #82237D #B230AC #D050CA #DD80D8

Accessibility & contrast

On white

5.37
#B230AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B230AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230AC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230AC#FFFFFF#000000##FFFFFF
##B230AC1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205FAF
Deuteranopia (green-blind)
#5771A9
Tritanopia (blue-blind)
#B9416B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b230ac;
/* rgb */ color: rgb(178, 48, 172);
/* oklch */ color: oklch(55.4% 0.213 330.0);
Tailwind
colors: {
  custom: {
    50: '#cd76c5',
    500: '#b230ac',
    950: '#000000',
  },
}
SCSS
$custom: #b230ac;
$custom-light: #cd76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b230ac",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 302.769,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55414,
    "c": 0.21274,
    "h": 330
  },
  "luminance": 0.14557
}

Semantic roles & 50–950 ramp

primary
#B230AC
secondary
#78C67C
accent
#E14E47
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B230AC

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

Preview Lab → · Contrast checker → · Palette generator →

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