#B314B3#B314B3

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

Color values

HEX#B314B3
RGBrgb(179, 20, 179)
HSLhsl(300, 80%, 39%)
HSVhsv(300, 89%, 70%)
CMYKcmyk(0%, 88.8%, 0%, 29.8%)
CIE-LABlab(43.27, 73.11, -45.44)
CIE-LCHlch(43.27, 86.08, 328.14°)
OKLaboklab(54.33% 0.2042 -0.1263)
OKLCHoklch(54.33% 0.24 328.3)
XYZxyz(26.9770, 13.3408, 43.7933)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B314B3 #14B314
analogous
#6414B3 #B314B3 #B31464
triadic
#B314B3 #B3B314 #14B3B3
tetradic
#B314B3 #B36414 #14B314 #1464B3
square
#B314B3 #B36414 #14B314 #1464B3
split-complementary
#B314B3 #64B314 #14B364
monochromatic
#450845 #7C0E7C #B314B3 #E61EE6 #EC55EC

Accessibility & contrast

On white

5.73
#B314B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B314B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B314B3
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B314B3#FFFFFF#000000##FFFFFF
##B314B31.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#4A6DB0
Tritanopia (blue-blind)
#B9376A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b314b3;
/* rgb */ color: rgb(179, 20, 179);
/* oklch */ color: oklch(54.3% 0.240 328.3);
Tailwind
colors: {
  custom: {
    50: '#ce6dca',
    500: '#b314b3',
    950: '#000000',
  },
}
SCSS
$custom: #b314b3;
$custom-light: #ce6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#b314b3",
  "rgb": {
    "r": 179,
    "g": 20,
    "b": 179
  },
  "hsl": {
    "h": 300,
    "s": 79.899,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54329,
    "c": 0.24012,
    "h": 328.3
  },
  "luminance": 0.13339
}

Semantic roles & 50–950 ramp

primary
#B314B3
secondary
#54CF54
accent
#F63131
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140813
muted
#837B82

Preview Lab

Preview with #B314B3

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

Preview Lab → · Contrast checker → · Palette generator →

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