#B971ED#B971ED

#B971ED is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.7% C 0.187 H 309.1°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#B971ED
RGBrgb(185, 113, 237)
HSLhsl(275, 78%, 69%)
HSVhsv(275, 52%, 93%)
CMYKcmyk(21.9%, 52.3%, 0%, 7.1%)
CIE-LABlab(60.10, 50.35, -51.77)
CIE-LCHlch(60.10, 72.22, 314.21°)
OKLaboklab(67.72% 0.1178 -0.1451)
OKLCHoklch(67.72% 0.187 309.1)
XYZxyz(41.1958, 28.2396, 83.3849)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B971ED #A5ED71
analogous
#7B71ED #B971ED #ED71E3
triadic
#B971ED #EDB971 #71EDB9
tetradic
#B971ED #ED7B71 #A5ED71 #71E3ED
square
#B971ED #ED7B71 #A5ED71 #71E3ED
split-complementary
#B971ED #E3ED71 #71ED7B
monochromatic
#801ACA #9E3BE6 #B971ED #D4A7F4 #EFDEFB

Accessibility & contrast

On white

3.16
#B971ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#B971ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B971ED
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B971ED#FFFFFF#000000##000000
##B971ED1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF1
Deuteranopia (green-blind)
#6492EA
Tritanopia (blue-blind)
#B287A5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b971ed;
/* rgb */ color: rgb(185, 113, 237);
/* oklch */ color: oklch(67.7% 0.187 309.1);
Tailwind
colors: {
  custom: {
    50: '#d19cf3',
    500: '#b971ed',
    950: '#000000',
  },
}
SCSS
$custom: #b971ed;
$custom-light: #d19cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b971ed",
  "rgb": {
    "r": 185,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 274.839,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67715,
    "c": 0.1869,
    "h": 309.1
  },
  "luminance": 0.28239
}

Semantic roles & 50–950 ramp

primary
#B971ED
secondary
#DAEFCA
accent
#DA0C62
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B971ED

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

Preview Lab → · Contrast checker → · Palette generator →

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