#B314B2#B314B2

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

Color values

HEX#B314B2
RGBrgb(179, 20, 178)
HSLhsl(300, 80%, 39%)
HSVhsv(300, 89%, 70%)
CMYKcmyk(0%, 88.8%, 0.6%, 29.8%)
CIE-LABlab(43.21, 72.95, -44.94)
CIE-LCHlch(43.21, 85.69, 328.37°)
OKLaboklab(54.27% 0.2043 -0.1248)
OKLCHoklch(54.27% 0.239 328.6)
XYZxyz(26.8762, 13.3005, 43.2626)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B314B2 #14B315
analogous
#6514B3 #B314B2 #B31463
triadic
#B314B2 #B2B314 #14B2B3
tetradic
#B314B2 #B36514 #14B315 #1463B3
square
#B314B2 #B36514 #14B315 #1463B3
split-complementary
#B314B2 #63B314 #14B365
monochromatic
#450845 #7C0E7B #B314B2 #E61EE5 #EC55EB

Accessibility & contrast

On white

5.74
#B314B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B314B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B314B2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B314B2#FFFFFF#000000##FFFFFF
##B314B21.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#4B6DAF
Tritanopia (blue-blind)
#B93669
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b314b2;
/* rgb */ color: rgb(179, 20, 178);
/* oklch */ color: oklch(54.3% 0.239 328.6);
Tailwind
colors: {
  custom: {
    50: '#ce6dca',
    500: '#b314b2',
    950: '#000000',
  },
}
SCSS
$custom: #b314b2;
$custom-light: #ce6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#b314b2",
  "rgb": {
    "r": 179,
    "g": 20,
    "b": 178
  },
  "hsl": {
    "h": 300.377,
    "s": 79.899,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54267,
    "c": 0.23943,
    "h": 328.6
  },
  "luminance": 0.13298
}

Semantic roles & 50–950 ramp

primary
#B314B2
secondary
#54CF55
accent
#F63331
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140813
muted
#837B82

Preview Lab

Preview with #B314B2

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

Preview Lab → · Contrast checker → · Palette generator →

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