#B131CA#B131CA

#B131CA is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.2% C 0.235 H 320.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B131CA
RGBrgb(177, 49, 202)
HSLhsl(290, 61%, 49%)
HSVhsv(290, 76%, 79%)
CMYKcmyk(12.4%, 75.7%, 0%, 20.8%)
CIE-LABlab(46.72, 69.65, -53.37)
CIE-LCHlch(46.72, 87.75, 322.54°)
OKLaboklab(57.16% 0.181 -0.1496)
OKLCHoklch(57.16% 0.235 320.4)
XYZxyz(29.8892, 15.8096, 57.3429)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131CA #4ACA31
analogous
#6531CA #B131CA #CA3197
triadic
#B131CA #CAB131 #31CAB1
tetradic
#B131CA #CA6531 #4ACA31 #3197CA
square
#B131CA #CA6531 #4ACA31 #3197CA
split-complementary
#B131CA #97CA31 #31CA65
monochromatic
#5B1967 #862599 #B131CA #C560D8 #D791E4

Accessibility & contrast

On white

5.05
#B131CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B131CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131CA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131CA#FFFFFF#000000##FFFFFF
##B131CA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#4173C7
Tritanopia (blue-blind)
#B2517C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b131ca;
/* rgb */ color: rgb(177, 49, 202);
/* oklch */ color: oklch(57.2% 0.235 320.4);
Tailwind
colors: {
  custom: {
    50: '#cd77db',
    500: '#b131ca',
    950: '#000000',
  },
}
SCSS
$custom: #b131ca;
$custom-light: #cd77db;
$custom-dark: #000000;
JSON
{
  "hex": "#b131ca",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 290.196,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57155,
    "c": 0.23486,
    "h": 320.4
  },
  "luminance": 0.15808
}

Semantic roles & 50–950 ramp

primary
#B131CA
secondary
#93CF88
accent
#E4445E
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B131CA

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

Preview Lab → · Contrast checker → · Palette generator →

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