#B972EB#B972EB

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

Color values

HEX#B972EB
RGBrgb(185, 114, 235)
HSLhsl(275, 75%, 68%)
HSVhsv(275, 51%, 92%)
CMYKcmyk(21.3%, 51.5%, 0%, 7.8%)
CIE-LABlab(60.20, 49.39, -50.50)
CIE-LCHlch(60.20, 70.64, 314.36°)
OKLaboklab(67.75% 0.1163 -0.1414)
OKLCHoklch(67.75% 0.183 309.4)
XYZxyz(41.0174, 28.3477, 81.8920)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B972EB #A4EB72
analogous
#7C72EB #B972EB #EB72E0
triadic
#B972EB #EBB972 #72EBB9
tetradic
#B972EB #EB7C72 #A4EB72 #72E0EB
square
#B972EB #EB7C72 #A4EB72 #72E0EB
split-complementary
#B972EB #E0EB72 #72EB7C
monochromatic
#801CC6 #9E3CE3 #B972EB #D4A8F3 #EEDDFA

Accessibility & contrast

On white

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

On black

6.67
#B972EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B972EB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B972EB#FFFFFF#000000##000000
##B972EB1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EEF
Deuteranopia (green-blind)
#6692E8
Tritanopia (blue-blind)
#B287A4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b972eb;
/* rgb */ color: rgb(185, 114, 235);
/* oklch */ color: oklch(67.8% 0.183 309.4);
Tailwind
colors: {
  custom: {
    50: '#d19df2',
    500: '#b972eb',
    950: '#000000',
  },
}
SCSS
$custom: #b972eb;
$custom-light: #d19df2;
$custom-dark: #000000;
JSON
{
  "hex": "#b972eb",
  "rgb": {
    "r": 185,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 275.207,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67753,
    "c": 0.18311,
    "h": 309.4
  },
  "luminance": 0.28347
}

Semantic roles & 50–950 ramp

primary
#B972EB
secondary
#D9EFCA
accent
#D70E61
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B972EB

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

Preview Lab → · Contrast checker → · Palette generator →

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