#B230A4#B230A4

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

Color values

HEX#B230A4
RGBrgb(178, 48, 164)
HSLhsl(306, 58%, 44%)
HSVhsv(306, 73%, 70%)
CMYKcmyk(0%, 73%, 7.9%, 30.2%)
CIE-LABlab(44.61, 63.83, -34.43)
CIE-LCHlch(44.61, 72.53, 331.66°)
OKLaboklab(54.98% 0.184 -0.0945)
OKLCHoklch(54.98% 0.207 332.8)
XYZxyz(26.1180, 14.2614, 36.4919)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230A4 #30B23E
analogous
#7F30B2 #B230A4 #B23063
triadic
#B230A4 #A4B230 #30A4B2
tetradic
#B230A4 #B27F30 #30B23E #3063B2
square
#B230A4 #B27F30 #30B23E #3063B2
split-complementary
#B230A4 #63B230 #30B27F
monochromatic
#52164B #822378 #B230A4 #D050C2 #DD80D3

Accessibility & contrast

On white

5.45
#B230A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B230A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230A4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230A4#FFFFFF#000000##FFFFFF
##B230A41.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA7
Deuteranopia (green-blind)
#5B70A1
Tritanopia (blue-blind)
#BA3D67
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b230a4;
/* rgb */ color: rgb(178, 48, 164);
/* oklch */ color: oklch(55.0% 0.207 332.8);
Tailwind
colors: {
  custom: {
    50: '#cd75bf',
    500: '#b230a4',
    950: '#000000',
  },
}
SCSS
$custom: #b230a4;
$custom-light: #cd75bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b230a4",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 306.462,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54977,
    "c": 0.20681,
    "h": 332.8
  },
  "luminance": 0.14259
}

Semantic roles & 50–950 ramp

primary
#B230A4
secondary
#78C681
accent
#E15847
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B230A4

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

Preview Lab → · Contrast checker → · Palette generator →

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