#B830A7#B830A7

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

Color values

HEX#B830A7
RGBrgb(184, 48, 167)
HSLhsl(308, 59%, 45%)
HSVhsv(308, 74%, 72%)
CMYKcmyk(0%, 73.9%, 9.2%, 27.8%)
CIE-LABlab(45.77, 65.66, -34.32)
CIE-LCHlch(45.77, 74.09, 332.41°)
OKLaboklab(56.05% 0.1902 -0.0941)
OKLCHoklch(56.05% 0.212 333.7)
XYZxyz(27.7994, 15.0967, 38.0016)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B830A7 #30B841
analogous
#8530B8 #B830A7 #B83063
triadic
#B830A7 #A7B830 #30A7B8
tetradic
#B830A7 #B88530 #30B841 #3063B8
square
#B830A7 #B88530 #30B841 #3063B8
split-complementary
#B830A7 #63B830 #30B885
monochromatic
#57174F #87237B #B830A7 #D253C2 #DF84D3

Accessibility & contrast

On white

5.23
#B830A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B830A7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B830A7#FFFFFF#000000##FFFFFF
##B830A71.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C60AA
Deuteranopia (green-blind)
#5F73A4
Tritanopia (blue-blind)
#C13D69
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b830a7;
/* rgb */ color: rgb(184, 48, 167);
/* oklch */ color: oklch(56.1% 0.212 333.7);
Tailwind
colors: {
  custom: {
    50: '#d176c1',
    500: '#b830a7',
    950: '#000000',
  },
}
SCSS
$custom: #b830a7;
$custom-light: #d176c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b830a7",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 307.5,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56054,
    "c": 0.2122,
    "h": 333.7
  },
  "luminance": 0.15094
}

Semantic roles & 50–950 ramp

primary
#B830A7
secondary
#7CC885
accent
#E25946
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #B830A7

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

Preview Lab → · Contrast checker → · Palette generator →

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