#B830A8#B830A8

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

Color values

HEX#B830A8
RGBrgb(184, 48, 168)
HSLhsl(307, 59%, 45%)
HSVhsv(307, 74%, 72%)
CMYKcmyk(0%, 73.9%, 8.7%, 27.8%)
CIE-LABlab(45.82, 65.81, -34.83)
CIE-LCHlch(45.82, 74.46, 332.11°)
OKLaboklab(56.11% 0.1903 -0.0955)
OKLCHoklch(56.11% 0.213 333.3)
XYZxyz(27.8922, 15.1338, 38.4903)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B830A8 #30B840
analogous
#8430B8 #B830A8 #B83064
triadic
#B830A8 #A8B830 #30A8B8
tetradic
#B830A8 #B88430 #30B840 #3064B8
square
#B830A8 #B88430 #30B840 #3064B8
split-complementary
#B830A8 #64B830 #30B884
monochromatic
#57174F #87237C #B830A8 #D253C3 #DF84D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B830A8#FFFFFF#000000##FFFFFF
##B830A81.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B60AB
Deuteranopia (green-blind)
#5E73A5
Tritanopia (blue-blind)
#C03E69
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b830a8;
/* rgb */ color: rgb(184, 48, 168);
/* oklch */ color: oklch(56.1% 0.213 333.3);
Tailwind
colors: {
  custom: {
    50: '#d176c2',
    500: '#b830a8',
    950: '#000000',
  },
}
SCSS
$custom: #b830a8;
$custom-light: #d176c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b830a8",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 307.059,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56107,
    "c": 0.21291,
    "h": 333.3
  },
  "luminance": 0.15131
}

Semantic roles & 50–950 ramp

primary
#B830A8
secondary
#7CC885
accent
#E25846
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #B830A8

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

Preview Lab → · Contrast checker → · Palette generator →

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