#B230A5#B230A5

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

Color values

HEX#B230A5
RGBrgb(178, 48, 165)
HSLhsl(306, 58%, 44%)
HSVhsv(306, 73%, 70%)
CMYKcmyk(0%, 73%, 7.3%, 30.2%)
CIE-LABlab(44.66, 63.99, -34.95)
CIE-LCHlch(44.66, 72.91, 331.36°)
OKLaboklab(55.03% 0.184 -0.096)
OKLCHoklch(55.03% 0.208 332.4)
XYZxyz(26.2087, 14.2977, 36.9694)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230A5 #30B23D
analogous
#7E30B2 #B230A5 #B23064
triadic
#B230A5 #A5B230 #30A5B2
tetradic
#B230A5 #B27E30 #30B23D #3064B2
square
#B230A5 #B27E30 #30B23D #3064B2
split-complementary
#B230A5 #64B230 #30B27E
monochromatic
#52164C #822378 #B230A5 #D050C3 #DD80D3

Accessibility & contrast

On white

5.44
#B230A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B230A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230A5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230A5#FFFFFF#000000##FFFFFF
##B230A51.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA8
Deuteranopia (green-blind)
#5A70A2
Tritanopia (blue-blind)
#BA3E67
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b230a5;
/* rgb */ color: rgb(178, 48, 165);
/* oklch */ color: oklch(55.0% 0.208 332.4);
Tailwind
colors: {
  custom: {
    50: '#cd75c0',
    500: '#b230a5',
    950: '#000000',
  },
}
SCSS
$custom: #b230a5;
$custom-light: #cd75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b230a5",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 306,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55031,
    "c": 0.20754,
    "h": 332.4
  },
  "luminance": 0.14295
}

Semantic roles & 50–950 ramp

primary
#B230A5
secondary
#78C680
accent
#E15647
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B230A5

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

Preview Lab → · Contrast checker → · Palette generator →

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