#B230AB#B230AB

#B230AB is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.4% C 0.212 H 330.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B230AB
RGBrgb(178, 48, 171)
HSLhsl(303, 58%, 44%)
HSVhsv(303, 73%, 70%)
CMYKcmyk(0%, 73%, 3.9%, 30.2%)
CIE-LABlab(44.97, 64.93, -38.01)
CIE-LCHlch(44.97, 75.24, 329.65°)
OKLaboklab(55.36% 0.1842 -0.1049)
OKLCHoklch(55.36% 0.212 330.4)
XYZxyz(26.7676, 14.5212, 39.9132)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230AB #30B237
analogous
#7830B2 #B230AB #B2306A
triadic
#B230AB #ABB230 #30ABB2
tetradic
#B230AB #B27830 #30B237 #306AB2
square
#B230AB #B27830 #30B237 #306AB2
split-complementary
#B230AB #6AB230 #30B278
monochromatic
#52164E #82237D #B230AB #D050C9 #DD80D8

Accessibility & contrast

On white

5.38
#B230AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B230AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230AB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230AB#FFFFFF#000000##FFFFFF
##B230AB1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAE
Deuteranopia (green-blind)
#5771A8
Tritanopia (blue-blind)
#B9416B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b230ab;
/* rgb */ color: rgb(178, 48, 171);
/* oklch */ color: oklch(55.4% 0.212 330.4);
Tailwind
colors: {
  custom: {
    50: '#cd76c4',
    500: '#b230ab',
    950: '#000000',
  },
}
SCSS
$custom: #b230ab;
$custom-light: #cd76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b230ab",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 303.231,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55359,
    "c": 0.212,
    "h": 330.4
  },
  "luminance": 0.14519
}

Semantic roles & 50–950 ramp

primary
#B230AB
secondary
#78C67C
accent
#E14F47
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B230AB

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

Preview Lab → · Contrast checker → · Palette generator →

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