#B371CA#B371CA

#B371CA is a light, vivid purple. Relative luminance 0.257; OKLCH L 65.2% C 0.145 H 316.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B371CA
RGBrgb(179, 113, 202)
HSLhsl(284, 46%, 62%)
HSVhsv(284, 44%, 79%)
CMYKcmyk(11.4%, 44.1%, 0%, 20.8%)
CIE-LABlab(57.71, 41.18, -35.93)
CIE-LCHlch(57.71, 54.66, 318.90°)
OKLaboklab(65.23% 0.1063 -0.0993)
OKLCHoklch(65.23% 0.145 316.9)
XYZxyz(35.1547, 25.6592, 58.9665)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B371CA #88CA71
analogous
#8771CA #B371CA #CA71B5
triadic
#B371CA #CAB371 #71CAB3
tetradic
#B371CA #CA8771 #88CA71 #71B5CA
square
#B371CA #CA8771 #88CA71 #71B5CA
split-complementary
#B371CA #B5CA71 #71CA87
monochromatic
#76348C #9B45B9 #B371CA #CB9EDB #E3CAEB

Accessibility & contrast

On white

3.42
#B371CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#B371CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B371CA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B371CA#FFFFFF#000000##000000
##B371CA1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6286CD
Deuteranopia (green-blind)
#748DC7
Tritanopia (blue-blind)
#B27D94
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b371ca;
/* rgb */ color: rgb(179, 113, 202);
/* oklch */ color: oklch(65.2% 0.145 316.9);
Tailwind
colors: {
  custom: {
    50: '#cb9bda',
    500: '#b371ca',
    950: '#000000',
  },
}
SCSS
$custom: #b371ca;
$custom-light: #cb9bda;
$custom-dark: #000000;
JSON
{
  "hex": "#b371ca",
  "rgb": {
    "r": 179,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 284.494,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65229,
    "c": 0.14544,
    "h": 316.9
  },
  "luminance": 0.25658
}

Semantic roles & 50–950 ramp

primary
#B371CA
secondary
#C3DCBB
accent
#B92D51
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B371CA

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

Preview Lab → · Contrast checker → · Palette generator →

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