#B230BA#B230BA

#B230BA is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.224 H 325.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B230BA
RGBrgb(178, 48, 186)
HSLhsl(297, 59%, 46%)
HSVhsv(297, 74%, 73%)
CMYKcmyk(4.3%, 74.2%, 0%, 27.1%)
CIE-LABlab(45.81, 67.39, -45.52)
CIE-LCHlch(45.81, 81.32, 325.96°)
OKLaboklab(56.23% 0.1841 -0.1267)
OKLCHoklch(56.23% 0.224 325.5)
XYZxyz(28.2793, 15.1259, 47.8750)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230BA #38BA30
analogous
#6D30BA #B230BA #BA307D
triadic
#B230BA #BAB230 #30BAB2
tetradic
#B230BA #BA6D30 #38BA30 #307DBA
square
#B230BA #BA6D30 #38BA30 #307DBA
split-complementary
#B230BA #7DBA30 #30BA6D
monochromatic
#551759 #832389 #B230BA #CC54D3 #DA85DF

Accessibility & contrast

On white

5.22
#B230BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B230BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230BA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230BA#FFFFFF#000000##FFFFFF
##B230BA1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#4E72B7
Tritanopia (blue-blind)
#B64873
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b230ba;
/* rgb */ color: rgb(178, 48, 186);
/* oklch */ color: oklch(56.2% 0.224 325.5);
Tailwind
colors: {
  custom: {
    50: '#cd76cf',
    500: '#b230ba',
    950: '#000000',
  },
}
SCSS
$custom: #b230ba;
$custom-light: #cd76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b230ba",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 296.522,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56225,
    "c": 0.22351,
    "h": 325.5
  },
  "luminance": 0.15124
}

Semantic roles & 50–950 ramp

primary
#B230BA
secondary
#81C97D
accent
#E2464F
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B230BA

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

Preview Lab → · Contrast checker → · Palette generator →

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