#B971EF#B971EF

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

Color values

HEX#B971EF
RGBrgb(185, 113, 239)
HSLhsl(274, 80%, 69%)
HSVhsv(274, 53%, 94%)
CMYKcmyk(22.6%, 52.7%, 0%, 6.3%)
CIE-LABlab(60.21, 50.80, -52.71)
CIE-LCHlch(60.21, 73.20, 313.94°)
OKLaboklab(67.83% 0.1179 -0.1479)
OKLCHoklch(67.83% 0.189 308.6)
XYZxyz(41.4896, 28.3571, 84.9324)
Luminance0.2836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B971EF #A7EF71
analogous
#7A71EF #B971EF #EF71E6
triadic
#B971EF #EFB971 #71EFB9
tetradic
#B971EF #EF7A71 #A7EF71 #71E6EF
square
#B971EF #EF7A71 #A7EF71 #71E6EF
split-complementary
#B971EF #E6EF71 #71EF7A
monochromatic
#8017CE #9E3AE9 #B971EF #D4A8F5 #EFDFFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B971EF#FFFFFF#000000##000000
##B971EF1.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)
#4B8EF3
Deuteranopia (green-blind)
#6392EC
Tritanopia (blue-blind)
#B187A5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b971ef;
/* rgb */ color: rgb(185, 113, 239);
/* oklch */ color: oklch(67.8% 0.189 308.6);
Tailwind
colors: {
  custom: {
    50: '#d19cf5',
    500: '#b971ef',
    950: '#000000',
  },
}
SCSS
$custom: #b971ef;
$custom-light: #d19cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b971ef",
  "rgb": {
    "r": 185,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 274.286,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67827,
    "c": 0.18913,
    "h": 308.6
  },
  "luminance": 0.28357
}

Semantic roles & 50–950 ramp

primary
#B971EF
secondary
#DBF0CB
accent
#DC0964
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B971EF

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

Preview Lab → · Contrast checker → · Palette generator →

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