#B830B6#B830B6

#B830B6 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.223 H 328.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B830B6
RGBrgb(184, 48, 182)
HSLhsl(301, 59%, 45%)
HSVhsv(301, 74%, 72%)
CMYKcmyk(0%, 73.9%, 1.1%, 27.8%)
CIE-LABlab(46.56, 68.00, -41.92)
CIE-LCHlch(46.56, 79.88, 328.34°)
OKLaboklab(56.88% 0.1906 -0.1161)
OKLCHoklch(56.88% 0.223 328.7)
XYZxyz(29.2673, 15.6838, 45.7327)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B830B6 #30B832
analogous
#7630B8 #B830B6 #B83072
triadic
#B830B6 #B6B830 #30B6B8
tetradic
#B830B6 #B87630 #30B832 #3072B8
square
#B830B6 #B87630 #30B832 #3072B8
split-complementary
#B830B6 #72B830 #30B876
monochromatic
#571756 #872386 #B830B6 #D253D0 #DF84DD

Accessibility & contrast

On white

5.08
#B830B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B830B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B830B6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B830B6#FFFFFF#000000##FFFFFF
##B830B61.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1663BA
Deuteranopia (green-blind)
#5775B3
Tritanopia (blue-blind)
#BE4571
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b830b6;
/* rgb */ color: rgb(184, 48, 182);
/* oklch */ color: oklch(56.9% 0.223 328.7);
Tailwind
colors: {
  custom: {
    50: '#d177cc',
    500: '#b830b6',
    950: '#000000',
  },
}
SCSS
$custom: #b830b6;
$custom-light: #d177cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b830b6",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 300.882,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56877,
    "c": 0.2232,
    "h": 328.7
  },
  "luminance": 0.15682
}

Semantic roles & 50–950 ramp

primary
#B830B6
secondary
#7CC87D
accent
#E24846
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #B830B6

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

Preview Lab → · Contrast checker → · Palette generator →

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