#B970E8#B970E8

#B970E8 is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.3% C 0.183 H 310.5°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B970E8
RGBrgb(185, 112, 232)
HSLhsl(277, 72%, 67%)
HSVhsv(277, 52%, 91%)
CMYKcmyk(20.3%, 51.7%, 0%, 9%)
CIE-LABlab(59.64, 49.78, -49.71)
CIE-LCHlch(59.64, 70.35, 315.04°)
OKLaboklab(67.29% 0.1187 -0.1391)
OKLCHoklch(67.29% 0.183 310.5)
XYZxyz(40.3645, 27.7296, 79.5542)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B970E8 #9FE870
analogous
#7D70E8 #B970E8 #E870DB
triadic
#B970E8 #E8B970 #70E8B9
tetradic
#B970E8 #E87D70 #9FE870 #70DBE8
square
#B970E8 #E87D70 #9FE870 #70DBE8
split-complementary
#B970E8 #DBE870 #70E87D
monochromatic
#801FBF #9F3BE0 #B970E8 #D3A5F0 #EDD9F9

Accessibility & contrast

On white

3.21
#B970E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#B970E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B970E8
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B970E8#FFFFFF#000000##000000
##B970E81.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8CEC
Deuteranopia (green-blind)
#6691E5
Tritanopia (blue-blind)
#B384A2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b970e8;
/* rgb */ color: rgb(185, 112, 232);
/* oklch */ color: oklch(67.3% 0.183 310.5);
Tailwind
colors: {
  custom: {
    50: '#d09bf0',
    500: '#b970e8',
    950: '#000000',
  },
}
SCSS
$custom: #b970e8;
$custom-light: #d09bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#b970e8",
  "rgb": {
    "r": 185,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 276.5,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6729,
    "c": 0.18288,
    "h": 310.5
  },
  "luminance": 0.27729
}

Semantic roles & 50–950 ramp

primary
#B970E8
secondary
#D6EDC7
accent
#D4115E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B970E8

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

Preview Lab → · Contrast checker → · Palette generator →

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