#B230BD#B230BD

#B230BD is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.226 H 324.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B230BD
RGBrgb(178, 48, 189)
HSLhsl(295, 59%, 46%)
HSVhsv(295, 75%, 74%)
CMYKcmyk(5.8%, 74.6%, 0%, 25.9%)
CIE-LABlab(45.98, 67.90, -46.99)
CIE-LCHlch(45.98, 82.58, 325.31°)
OKLaboklab(56.41% 0.184 -0.131)
OKLCHoklch(56.41% 0.226 324.6)
XYZxyz(28.6016, 15.2548, 49.5722)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230BD #3BBD30
analogous
#6C30BD #B230BD #BD3082
triadic
#B230BD #BDB230 #30BDB2
tetradic
#B230BD #BD6C30 #3BBD30 #3082BD
square
#B230BD #BD6C30 #3BBD30 #3082BD
split-complementary
#B230BD #82BD30 #30BD6C
monochromatic
#56175B #84248C #B230BD #CA56D4 #DA87E0

Accessibility & contrast

On white

5.18
#B230BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B230BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230BD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230BD#FFFFFF#000000##FFFFFF
##B230BD1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#4C72BA
Tritanopia (blue-blind)
#B64A75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b230bd;
/* rgb */ color: rgb(178, 48, 189);
/* oklch */ color: oklch(56.4% 0.226 324.6);
Tailwind
colors: {
  custom: {
    50: '#cd76d1',
    500: '#b230bd',
    950: '#000000',
  },
}
SCSS
$custom: #b230bd;
$custom-light: #cd76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b230bd",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 295.319,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56406,
    "c": 0.22586,
    "h": 324.6
  },
  "luminance": 0.15253
}

Semantic roles & 50–950 ramp

primary
#B230BD
secondary
#85CA7F
accent
#E34551
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B230BD

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

Preview Lab → · Contrast checker → · Palette generator →

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