#B830A2#B830A2

#B830A2 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.209 H 335.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B830A2
RGBrgb(184, 48, 162)
HSLhsl(310, 59%, 45%)
HSVhsv(310, 74%, 72%)
CMYKcmyk(0%, 73.9%, 12%, 27.8%)
CIE-LABlab(45.52, 64.92, -31.73)
CIE-LCHlch(45.52, 72.26, 333.95°)
OKLaboklab(55.79% 0.1898 -0.0866)
OKLCHoklch(55.79% 0.209 335.5)
XYZxyz(27.3461, 14.9153, 35.6141)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B830A2 #30B846
analogous
#8A30B8 #B830A2 #B8305E
triadic
#B830A2 #A2B830 #30A2B8
tetradic
#B830A2 #B88A30 #30B846 #305EB8
square
#B830A2 #B88A30 #30B846 #305EB8
split-complementary
#B830A2 #5EB830 #30B88A
monochromatic
#57174D #872377 #B830A2 #D253BE #DF84D0

Accessibility & contrast

On white

5.27
#B830A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B830A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B830A2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B830A2#FFFFFF#000000##FFFFFF
##B830A21.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA5
Deuteranopia (green-blind)
#61739F
Tritanopia (blue-blind)
#C13B66
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b830a2;
/* rgb */ color: rgb(184, 48, 162);
/* oklch */ color: oklch(55.8% 0.209 335.5);
Tailwind
colors: {
  custom: {
    50: '#d176be',
    500: '#b830a2',
    950: '#000000',
  },
}
SCSS
$custom: #b830a2;
$custom-light: #d176be;
$custom-dark: #000000;
JSON
{
  "hex": "#b830a2",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 309.706,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55795,
    "c": 0.20868,
    "h": 335.5
  },
  "luminance": 0.14913
}

Semantic roles & 50–950 ramp

primary
#B830A2
secondary
#7CC888
accent
#E25F46
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B830A2

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

Preview Lab → · Contrast checker → · Palette generator →

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