#B970E7#B970E7

#B970E7 is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.2% C 0.182 H 310.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B970E7
RGBrgb(185, 112, 231)
HSLhsl(277, 71%, 67%)
HSVhsv(277, 52%, 91%)
CMYKcmyk(19.9%, 51.5%, 0%, 9.4%)
CIE-LABlab(59.59, 49.56, -49.24)
CIE-LCHlch(59.59, 69.86, 315.19°)
OKLaboklab(67.24% 0.1186 -0.1377)
OKLCHoklch(67.24% 0.182 310.7)
XYZxyz(40.2229, 27.6729, 78.8083)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B970E7 #9EE770
analogous
#7E70E7 #B970E7 #E770D9
triadic
#B970E7 #E7B970 #70E7B9
tetradic
#B970E7 #E77E70 #9EE770 #70D9E7
square
#B970E7 #E77E70 #9EE770 #70D9E7
split-complementary
#B970E7 #D9E770 #70E77E
monochromatic
#8020BD #9F3CDE #B970E7 #D3A4F0 #ECD9F9

Accessibility & contrast

On white

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

On black

6.53
#B970E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B970E7
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B970E7#FFFFFF#000000##000000
##B970E71.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#508CEB
Deuteranopia (green-blind)
#6791E4
Tritanopia (blue-blind)
#B484A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b970e7;
/* rgb */ color: rgb(185, 112, 231);
/* oklch */ color: oklch(67.2% 0.182 310.7);
Tailwind
colors: {
  custom: {
    50: '#d09bef',
    500: '#b970e7',
    950: '#000000',
  },
}
SCSS
$custom: #b970e7;
$custom-light: #d09bef;
$custom-dark: #000000;
JSON
{
  "hex": "#b970e7",
  "rgb": {
    "r": 185,
    "g": 112,
    "b": 231
  },
  "hsl": {
    "h": 276.807,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67235,
    "c": 0.18177,
    "h": 310.7
  },
  "luminance": 0.27672
}

Semantic roles & 50–950 ramp

primary
#B970E7
secondary
#D5ECC7
accent
#D3125D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B970E7

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

Preview Lab → · Contrast checker → · Palette generator →

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