#B230BB#B230BB

#B230BB is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.224 H 325.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B230BB
RGBrgb(178, 48, 187)
HSLhsl(296, 59%, 46%)
HSVhsv(296, 74%, 73%)
CMYKcmyk(4.8%, 74.3%, 0%, 26.7%)
CIE-LABlab(45.86, 67.56, -46.01)
CIE-LCHlch(45.86, 81.74, 325.74°)
OKLaboklab(56.29% 0.1841 -0.1281)
OKLCHoklch(56.29% 0.224 325.2)
XYZxyz(28.3860, 15.1686, 48.4368)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230BB #39BB30
analogous
#6C30BB #B230BB #BB307E
triadic
#B230BB #BBB230 #30BBB2
tetradic
#B230BB #BB6C30 #39BB30 #307EBB
square
#B230BB #BB6C30 #39BB30 #307EBB
split-complementary
#B230BB #7EBB30 #30BB6C
monochromatic
#55175A #84238A #B230BB #CB55D3 #DA86E0

Accessibility & contrast

On white

5.21
#B230BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B230BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230BB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230BB#FFFFFF#000000##FFFFFF
##B230BB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#4E72B8
Tritanopia (blue-blind)
#B64974
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b230bb;
/* rgb */ color: rgb(178, 48, 187);
/* oklch */ color: oklch(56.3% 0.224 325.2);
Tailwind
colors: {
  custom: {
    50: '#cd76d0',
    500: '#b230bb',
    950: '#000000',
  },
}
SCSS
$custom: #b230bb;
$custom-light: #cd76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b230bb",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 296.115,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56285,
    "c": 0.22429,
    "h": 325.2
  },
  "luminance": 0.15167
}

Semantic roles & 50–950 ramp

primary
#B230BB
secondary
#82C97D
accent
#E24550
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B230BB

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

Preview Lab → · Contrast checker → · Palette generator →

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