#B134B2#B134B2

#B134B2 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.212 H 327.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B134B2
RGBrgb(177, 52, 178)
HSLhsl(300, 55%, 45%)
HSVhsv(300, 71%, 70%)
CMYKcmyk(0.6%, 70.8%, 0%, 30.2%)
CIE-LABlab(45.66, 64.50, -41.07)
CIE-LCHlch(45.66, 76.46, 327.52°)
OKLaboklab(55.94% 0.1795 -0.1138)
OKLCHoklch(55.94% 0.212 327.6)
XYZxyz(27.3949, 15.0194, 43.5670)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B134B2 #35B234
analogous
#7234B2 #B134B2 #B23474
triadic
#B134B2 #B2B134 #34B2B1
tetradic
#B134B2 #B27234 #35B234 #3474B2
square
#B134B2 #B27234 #35B234 #3474B2
split-complementary
#B134B2 #74B234 #34B272
monochromatic
#531853 #822683 #B134B2 #CD56CE #DB85DB

Accessibility & contrast

On white

5.25
#B134B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B134B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B134B2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B134B2#FFFFFF#000000##FFFFFF
##B134B21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C62B6
Deuteranopia (green-blind)
#5472AF
Tritanopia (blue-blind)
#B64770
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b134b2;
/* rgb */ color: rgb(177, 52, 178);
/* oklch */ color: oklch(55.9% 0.212 327.6);
Tailwind
colors: {
  custom: {
    50: '#cc77c9',
    500: '#b134b2',
    950: '#000000',
  },
}
SCSS
$custom: #b134b2;
$custom-light: #cc77c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b134b2",
  "rgb": {
    "r": 177,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 299.524,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55944,
    "c": 0.21248,
    "h": 327.6
  },
  "luminance": 0.15017
}

Semantic roles & 50–950 ramp

primary
#B134B2
secondary
#7DC57D
accent
#DE4A4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B134B2

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

Preview Lab → · Contrast checker → · Palette generator →

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