#B371ED#B371ED

#B371ED is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.1% C 0.185 H 306.7°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B371ED
RGBrgb(179, 113, 237)
HSLhsl(272, 78%, 69%)
HSVhsv(272, 52%, 93%)
CMYKcmyk(24.5%, 52.3%, 0%, 7.1%)
CIE-LABlab(59.44, 48.82, -52.86)
CIE-LCHlch(59.44, 71.95, 312.72°)
OKLaboklab(67.08% 0.1105 -0.1485)
OKLCHoklch(67.08% 0.185 306.7)
XYZxyz(39.7784, 27.5088, 83.3185)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B371ED #ABED71
analogous
#7571ED #B371ED #ED71E9
triadic
#B371ED #EDB371 #71EDB3
tetradic
#B371ED #ED7571 #ABED71 #71E9ED
square
#B371ED #ED7571 #ABED71 #71E9ED
split-complementary
#B371ED #E9ED71 #71ED75
monochromatic
#771ACA #963BE6 #B371ED #D0A7F4 #EDDEFB

Accessibility & contrast

On white

3.23
#B371ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#B371ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B371ED
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B371ED#FFFFFF#000000##000000
##B371ED1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8DF1
Deuteranopia (green-blind)
#5F90EA
Tritanopia (blue-blind)
#AA87A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b371ed;
/* rgb */ color: rgb(179, 113, 237);
/* oklch */ color: oklch(67.1% 0.185 306.7);
Tailwind
colors: {
  custom: {
    50: '#cd9cf3',
    500: '#b371ed',
    950: '#000000',
  },
}
SCSS
$custom: #b371ed;
$custom-light: #cd9cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b371ed",
  "rgb": {
    "r": 179,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 271.935,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67078,
    "c": 0.18506,
    "h": 306.7
  },
  "luminance": 0.27508
}

Semantic roles & 50–950 ramp

primary
#B371ED
secondary
#DCEFCA
accent
#DA0C6C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B371ED

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

Preview Lab → · Contrast checker → · Palette generator →

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