#B230A9#B230A9

#B230A9 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.210 H 331.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B230A9
RGBrgb(178, 48, 169)
HSLhsl(304, 58%, 44%)
HSVhsv(304, 73%, 70%)
CMYKcmyk(0%, 73%, 5.1%, 30.2%)
CIE-LABlab(44.87, 64.61, -36.99)
CIE-LCHlch(44.87, 74.45, 330.21°)
OKLaboklab(55.25% 0.1842 -0.1019)
OKLCHoklch(55.25% 0.211 331)
XYZxyz(26.5784, 14.4456, 38.9169)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230A9 #30B239
analogous
#7A30B2 #B230A9 #B23068
triadic
#B230A9 #A9B230 #30A9B2
tetradic
#B230A9 #B27A30 #30B239 #3068B2
square
#B230A9 #B27A30 #30B239 #3068B2
split-complementary
#B230A9 #68B230 #30B27A
monochromatic
#52164D #82237B #B230A9 #D050C7 #DD80D6

Accessibility & contrast

On white

5.40
#B230A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B230A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230A9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230A9#FFFFFF#000000##FFFFFF
##B230A91.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245FAC
Deuteranopia (green-blind)
#5870A6
Tritanopia (blue-blind)
#B9406A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b230a9;
/* rgb */ color: rgb(178, 48, 169);
/* oklch */ color: oklch(55.2% 0.210 331.0);
Tailwind
colors: {
  custom: {
    50: '#cd75c3',
    500: '#b230a9',
    950: '#000000',
  },
}
SCSS
$custom: #b230a9;
$custom-light: #cd75c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b230a9",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 169
  },
  "hsl": {
    "h": 304.154,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55248,
    "c": 0.2105,
    "h": 331
  },
  "luminance": 0.14443
}

Semantic roles & 50–950 ramp

primary
#B230A9
secondary
#78C67E
accent
#E15247
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B230A9

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

Preview Lab → · Contrast checker → · Palette generator →

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