#B970EB#B970EB

#B970EB is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.5% C 0.186 H 309.7°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B970EB
RGBrgb(185, 112, 235)
HSLhsl(276, 75%, 68%)
HSVhsv(276, 52%, 92%)
CMYKcmyk(21.3%, 52.3%, 0%, 7.8%)
CIE-LABlab(59.80, 50.44, -51.14)
CIE-LCHlch(59.80, 71.83, 314.60°)
OKLaboklab(67.46% 0.1189 -0.1433)
OKLCHoklch(67.46% 0.186 309.7)
XYZxyz(40.7943, 27.9015, 81.8176)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B970EB #A2EB70
analogous
#7B70EB #B970EB #EB70DF
triadic
#B970EB #EBB970 #70EBB9
tetradic
#B970EB #EB7B70 #A2EB70 #70DFEB
square
#B970EB #EB7B70 #A2EB70 #70DFEB
split-complementary
#B970EB #DFEB70 #70EB7B
monochromatic
#801CC5 #9F3AE3 #B970EB #D3A6F3 #EEDBFA

Accessibility & contrast

On white

3.19
#B970EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#B970EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B970EB
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B970EB#FFFFFF#000000##000000
##B970EB1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DEF
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#B385A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b970eb;
/* rgb */ color: rgb(185, 112, 235);
/* oklch */ color: oklch(67.5% 0.186 309.7);
Tailwind
colors: {
  custom: {
    50: '#d19bf2',
    500: '#b970eb',
    950: '#000000',
  },
}
SCSS
$custom: #b970eb;
$custom-light: #d19bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b970eb",
  "rgb": {
    "r": 185,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 275.61,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67456,
    "c": 0.18621,
    "h": 309.7
  },
  "luminance": 0.27901
}

Semantic roles & 50–950 ramp

primary
#B970EB
secondary
#D8EEC9
accent
#D80E60
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B970EB

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

Preview Lab → · Contrast checker → · Palette generator →

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