#B970F6#B970F6

#B970F6 is a light, vivid violet. Relative luminance 0.286; OKLCH L 68.1% C 0.198 H 307.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B970F6
RGBrgb(185, 112, 246)
HSLhsl(273, 88%, 70%)
HSVhsv(273, 54%, 96%)
CMYKcmyk(24.8%, 54.5%, 0%, 3.5%)
CIE-LABlab(60.39, 52.88, -56.30)
CIE-LCHlch(60.39, 77.24, 313.20°)
OKLaboklab(68.08% 0.1196 -0.1584)
OKLCHoklch(68.08% 0.198 307.1)
XYZxyz(42.4329, 28.5569, 90.4475)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B970F6 #ADF670
analogous
#7670F6 #B970F6 #F670F0
triadic
#B970F6 #F6B970 #70F6B9
tetradic
#B970F6 #F67670 #ADF670 #70F0F6
square
#B970F6 #F67670 #ADF670 #70F0F6
split-complementary
#B970F6 #F0F670 #70F676
monochromatic
#7F0EDE #9D36F2 #B970F6 #D5AAFA #F1E2FD

Accessibility & contrast

On white

3.13
#B970F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#B970F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B970F6
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B970F6#FFFFFF#000000##000000
##B970F61.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FFA
Deuteranopia (green-blind)
#5C92F3
Tritanopia (blue-blind)
#B089A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b970f6;
/* rgb */ color: rgb(185, 112, 246);
/* oklch */ color: oklch(68.1% 0.198 307.1);
Tailwind
colors: {
  custom: {
    50: '#d19cfa',
    500: '#b970f6',
    950: '#000000',
  },
}
SCSS
$custom: #b970f6;
$custom-light: #d19cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b970f6",
  "rgb": {
    "r": 185,
    "g": 112,
    "b": 246
  },
  "hsl": {
    "h": 272.687,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68081,
    "c": 0.19844,
    "h": 307.1
  },
  "luminance": 0.28556
}

Semantic roles & 50–950 ramp

primary
#B970F6
secondary
#DFF3CE
accent
#E50169
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B970F6

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

Preview Lab → · Contrast checker → · Palette generator →

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