#B230AD#B230AD

#B230AD is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.213 H 329.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B230AD
RGBrgb(178, 48, 173)
HSLhsl(302, 58%, 44%)
HSVhsv(302, 73%, 70%)
CMYKcmyk(0%, 73%, 2.8%, 30.2%)
CIE-LABlab(45.08, 65.25, -39.03)
CIE-LCHlch(45.08, 76.03, 329.12°)
OKLaboklab(55.47% 0.1843 -0.1078)
OKLCHoklch(55.47% 0.214 329.7)
XYZxyz(26.9597, 14.5981, 40.9248)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230AD #30B235
analogous
#7630B2 #B230AD #B2306C
triadic
#B230AD #ADB230 #30ADB2
tetradic
#B230AD #B27630 #30B235 #306CB2
square
#B230AD #B27630 #30B235 #306CB2
split-complementary
#B230AD #6CB230 #30B276
monochromatic
#52164F #82237E #B230AD #D050CB #DD80D9

Accessibility & contrast

On white

5.36
#B230AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B230AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230AD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230AD#FFFFFF#000000##FFFFFF
##B230AD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5FB0
Deuteranopia (green-blind)
#5671AA
Tritanopia (blue-blind)
#B8426C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b230ad;
/* rgb */ color: rgb(178, 48, 173);
/* oklch */ color: oklch(55.5% 0.213 329.7);
Tailwind
colors: {
  custom: {
    50: '#cd76c6',
    500: '#b230ad',
    950: '#000000',
  },
}
SCSS
$custom: #b230ad;
$custom-light: #cd76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b230ad",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 173
  },
  "hsl": {
    "h": 302.308,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5547,
    "c": 0.2135,
    "h": 329.7
  },
  "luminance": 0.14596
}

Semantic roles & 50–950 ramp

primary
#B230AD
secondary
#78C67B
accent
#E14D47
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B230AD

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

Preview Lab → · Contrast checker → · Palette generator →

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