#B970EA#B970EA

#B970EA is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.4% C 0.185 H 310.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B970EA
RGBrgb(185, 112, 234)
HSLhsl(276, 74%, 68%)
HSVhsv(276, 52%, 92%)
CMYKcmyk(20.9%, 52.1%, 0%, 8.2%)
CIE-LABlab(59.75, 50.22, -50.66)
CIE-LCHlch(59.75, 71.33, 314.75°)
OKLaboklab(67.4% 0.1189 -0.1419)
OKLCHoklch(67.4% 0.185 310)
XYZxyz(40.6502, 27.8438, 81.0589)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B970EA #A1EA70
analogous
#7C70EA #B970EA #EA70DE
triadic
#B970EA #EAB970 #70EAB9
tetradic
#B970EA #EA7C70 #A1EA70 #70DEEA
square
#B970EA #EA7C70 #A1EA70 #70DEEA
split-complementary
#B970EA #DEEA70 #70EA7C
monochromatic
#801DC3 #9F3BE2 #B970EA #D3A5F2 #EDDBFA

Accessibility & contrast

On white

3.20
#B970EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#B970EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B970EA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B970EA#FFFFFF#000000##000000
##B970EA1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEE
Deuteranopia (green-blind)
#6591E7
Tritanopia (blue-blind)
#B385A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b970ea;
/* rgb */ color: rgb(185, 112, 234);
/* oklch */ color: oklch(67.4% 0.185 310.0);
Tailwind
colors: {
  custom: {
    50: '#d19bf1',
    500: '#b970ea',
    950: '#000000',
  },
}
SCSS
$custom: #b970ea;
$custom-light: #d19bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b970ea",
  "rgb": {
    "r": 185,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 275.902,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67401,
    "c": 0.1851,
    "h": 310
  },
  "luminance": 0.27843
}

Semantic roles & 50–950 ramp

primary
#B970EA
secondary
#D7EEC8
accent
#D70F5F
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B970EA

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

Preview Lab → · Contrast checker → · Palette generator →

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