#B314B1#B314B1

#B314B1 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.2% C 0.239 H 328.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B314B1
RGBrgb(179, 20, 177)
HSLhsl(301, 80%, 39%)
HSVhsv(301, 89%, 70%)
CMYKcmyk(0%, 88.8%, 1.1%, 29.8%)
CIE-LABlab(43.15, 72.80, -44.45)
CIE-LCHlch(43.15, 85.30, 328.60°)
OKLaboklab(54.21% 0.2044 -0.1234)
OKLCHoklch(54.21% 0.239 328.9)
XYZxyz(26.7762, 13.2605, 42.7357)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B314B1 #14B316
analogous
#6614B3 #B314B1 #B31462
triadic
#B314B1 #B1B314 #14B1B3
tetradic
#B314B1 #B36614 #14B316 #1462B3
square
#B314B1 #B36614 #14B316 #1462B3
split-complementary
#B314B1 #62B314 #14B366
monochromatic
#450844 #7C0E7B #B314B1 #E61EE3 #EC55EA

Accessibility & contrast

On white

5.75
#B314B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B314B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B314B1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B314B1#FFFFFF#000000##FFFFFF
##B314B11.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#4C6DAE
Tritanopia (blue-blind)
#B93569
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b314b1;
/* rgb */ color: rgb(179, 20, 177);
/* oklch */ color: oklch(54.2% 0.239 328.9);
Tailwind
colors: {
  custom: {
    50: '#ce6dc9',
    500: '#b314b1',
    950: '#000000',
  },
}
SCSS
$custom: #b314b1;
$custom-light: #ce6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b314b1",
  "rgb": {
    "r": 179,
    "g": 20,
    "b": 177
  },
  "hsl": {
    "h": 300.755,
    "s": 79.899,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54206,
    "c": 0.23875,
    "h": 328.9
  },
  "luminance": 0.13258
}

Semantic roles & 50–950 ramp

primary
#B314B1
secondary
#54CF56
accent
#F63431
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140813
muted
#837B82

Preview Lab

Preview with #B314B1

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

Preview Lab → · Contrast checker → · Palette generator →

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