#B830A6#B830A6

#B830A6 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.211 H 334.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B830A6
RGBrgb(184, 48, 166)
HSLhsl(308, 59%, 45%)
HSVhsv(308, 74%, 72%)
CMYKcmyk(0%, 73.9%, 9.8%, 27.8%)
CIE-LABlab(45.72, 65.51, -33.80)
CIE-LCHlch(45.72, 73.72, 332.71°)
OKLaboklab(56% 0.1901 -0.0926)
OKLCHoklch(56% 0.211 334)
XYZxyz(27.7073, 15.0598, 37.5166)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B830A6 #30B842
analogous
#8630B8 #B830A6 #B83062
triadic
#B830A6 #A6B830 #30A6B8
tetradic
#B830A6 #B88630 #30B842 #3062B8
square
#B830A6 #B88630 #30B842 #3062B8
split-complementary
#B830A6 #62B830 #30B886
monochromatic
#57174E #87237A #B830A6 #D253C1 #DF84D3

Accessibility & contrast

On white

5.24
#B830A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B830A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B830A6
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B830A6#FFFFFF#000000##FFFFFF
##B830A61.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D60A9
Deuteranopia (green-blind)
#5F73A3
Tritanopia (blue-blind)
#C13D68
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b830a6;
/* rgb */ color: rgb(184, 48, 166);
/* oklch */ color: oklch(56.0% 0.211 334.0);
Tailwind
colors: {
  custom: {
    50: '#d176c1',
    500: '#b830a6',
    950: '#000000',
  },
}
SCSS
$custom: #b830a6;
$custom-light: #d176c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b830a6",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 307.941,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56001,
    "c": 0.21149,
    "h": 334
  },
  "luminance": 0.15057
}

Semantic roles & 50–950 ramp

primary
#B830A6
secondary
#7CC886
accent
#E25B46
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #B830A6

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

Preview Lab → · Contrast checker → · Palette generator →

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