#B230A6#B230A6

#B230A6 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.208 H 332.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B230A6
RGBrgb(178, 48, 166)
HSLhsl(306, 58%, 44%)
HSVhsv(306, 73%, 70%)
CMYKcmyk(0%, 73%, 6.7%, 30.2%)
CIE-LABlab(44.71, 64.14, -35.46)
CIE-LCHlch(44.71, 73.29, 331.07°)
OKLaboklab(55.08% 0.1841 -0.0975)
OKLCHoklch(55.08% 0.208 332.1)
XYZxyz(26.3000, 14.3342, 37.4506)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230A6 #30B23C
analogous
#7D30B2 #B230A6 #B23065
triadic
#B230A6 #A6B230 #30A6B2
tetradic
#B230A6 #B27D30 #30B23C #3065B2
square
#B230A6 #B27D30 #30B23C #3065B2
split-complementary
#B230A6 #65B230 #30B27D
monochromatic
#52164C #822379 #B230A6 #D050C4 #DD80D4

Accessibility & contrast

On white

5.43
#B230A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B230A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230A6
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230A6#FFFFFF#000000##FFFFFF
##B230A61.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA9
Deuteranopia (green-blind)
#5A70A3
Tritanopia (blue-blind)
#BA3E68
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b230a6;
/* rgb */ color: rgb(178, 48, 166);
/* oklch */ color: oklch(55.1% 0.208 332.1);
Tailwind
colors: {
  custom: {
    50: '#cd75c1',
    500: '#b230a6',
    950: '#000000',
  },
}
SCSS
$custom: #b230a6;
$custom-light: #cd75c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b230a6",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 305.538,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55085,
    "c": 0.20828,
    "h": 332.1
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

primary
#B230A6
secondary
#78C67F
accent
#E15547
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B230A6

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

Preview Lab → · Contrast checker → · Palette generator →

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