#B971EE#B971EE

#B971EE is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.8% C 0.188 H 308.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B971EE
RGBrgb(185, 113, 238)
HSLhsl(275, 79%, 69%)
HSVhsv(275, 53%, 93%)
CMYKcmyk(22.3%, 52.5%, 0%, 6.7%)
CIE-LABlab(60.16, 50.58, -52.24)
CIE-LCHlch(60.16, 72.71, 314.07°)
OKLaboklab(67.77% 0.1179 -0.1465)
OKLCHoklch(67.77% 0.188 308.8)
XYZxyz(41.3423, 28.2982, 84.1565)
Luminance0.2830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B971EE #A6EE71
analogous
#7B71EE #B971EE #EE71E5
triadic
#B971EE #EEB971 #71EEB9
tetradic
#B971EE #EE7B71 #A6EE71 #71E5EE
square
#B971EE #EE7B71 #A6EE71 #71E5EE
split-complementary
#B971EE #E5EE71 #71EE7B
monochromatic
#8018CC #9E3AE7 #B971EE #D4A8F5 #EFDEFB

Accessibility & contrast

On white

3.15
#B971EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#B971EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B971EE
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B971EE#FFFFFF#000000##000000
##B971EE1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8EF2
Deuteranopia (green-blind)
#6392EB
Tritanopia (blue-blind)
#B287A5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b971ee;
/* rgb */ color: rgb(185, 113, 238);
/* oklch */ color: oklch(67.8% 0.188 308.8);
Tailwind
colors: {
  custom: {
    50: '#d19cf4',
    500: '#b971ee',
    950: '#000000',
  },
}
SCSS
$custom: #b971ee;
$custom-light: #d19cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b971ee",
  "rgb": {
    "r": 185,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 274.56,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67771,
    "c": 0.18801,
    "h": 308.8
  },
  "luminance": 0.28298
}

Semantic roles & 50–950 ramp

primary
#B971EE
secondary
#DBF0CB
accent
#DB0B63
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B971EE

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

Preview Lab → · Contrast checker → · Palette generator →

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