#B230A2#B230A2

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

Color values

HEX#B230A2
RGBrgb(178, 48, 162)
HSLhsl(307, 58%, 44%)
HSVhsv(307, 73%, 70%)
CMYKcmyk(0%, 73%, 9%, 30.2%)
CIE-LABlab(44.50, 63.53, -33.40)
CIE-LCHlch(44.50, 71.77, 332.27°)
OKLaboklab(54.87% 0.1838 -0.0916)
OKLCHoklch(54.87% 0.205 333.5)
XYZxyz(25.9388, 14.1897, 35.5482)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230A2 #30B240
analogous
#8130B2 #B230A2 #B23061
triadic
#B230A2 #A2B230 #30A2B2
tetradic
#B230A2 #B28130 #30B240 #3061B2
square
#B230A2 #B28130 #30B240 #3061B2
split-complementary
#B230A2 #61B230 #30B281
monochromatic
#52164A #822376 #B230A2 #D050C0 #DD80D1

Accessibility & contrast

On white

5.47
#B230A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B230A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230A2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230A2#FFFFFF#000000##FFFFFF
##B230A21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA5
Deuteranopia (green-blind)
#5C709F
Tritanopia (blue-blind)
#BA3D66
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b230a2;
/* rgb */ color: rgb(178, 48, 162);
/* oklch */ color: oklch(54.9% 0.205 333.5);
Tailwind
colors: {
  custom: {
    50: '#cd75be',
    500: '#b230a2',
    950: '#000000',
  },
}
SCSS
$custom: #b230a2;
$custom-light: #cd75be;
$custom-dark: #000000;
JSON
{
  "hex": "#b230a2",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 307.385,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.20536,
    "h": 333.5
  },
  "luminance": 0.14188
}

Semantic roles & 50–950 ramp

primary
#B230A2
secondary
#78C682
accent
#E15A47
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B230A2

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

Preview Lab → · Contrast checker → · Palette generator →

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