#B970F8#B970F8

#B970F8 is a light, highly saturated violet. Relative luminance 0.287; OKLCH L 68.2% C 0.201 H 306.6°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B970F8
RGBrgb(185, 112, 248)
HSLhsl(272, 91%, 71%)
HSVhsv(272, 55%, 97%)
CMYKcmyk(25.4%, 54.8%, 0%, 2.7%)
CIE-LABlab(60.50, 53.33, -57.23)
CIE-LCHlch(60.50, 78.23, 312.98°)
OKLaboklab(68.2% 0.1197 -0.1611)
OKLCHoklch(68.2% 0.201 306.6)
XYZxyz(42.7415, 28.6804, 92.0729)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B970F8 #AFF870
analogous
#7570F8 #B970F8 #F870F3
triadic
#B970F8 #F8B970 #70F8B9
tetradic
#B970F8 #F87570 #AFF870 #70F3F8
square
#B970F8 #F87570 #AFF870 #70F3F8
split-complementary
#B970F8 #F3F870 #70F875
monochromatic
#7F0BE3 #9C36F5 #B970F8 #D6AAFB #F1E2FE

Accessibility & contrast

On white

3.12
#B970F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#B970F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B970F8
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B970F8#FFFFFF#000000##000000
##B970F81.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFC
Deuteranopia (green-blind)
#5B92F5
Tritanopia (blue-blind)
#AF89AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b970f8;
/* rgb */ color: rgb(185, 112, 248);
/* oklch */ color: oklch(68.2% 0.201 306.6);
Tailwind
colors: {
  custom: {
    50: '#d19cfb',
    500: '#b970f8',
    950: '#000000',
  },
}
SCSS
$custom: #b970f8;
$custom-light: #d19cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b970f8",
  "rgb": {
    "r": 185,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 272.206,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68197,
    "c": 0.20067,
    "h": 306.6
  },
  "luminance": 0.2868
}

Semantic roles & 50–950 ramp

primary
#B970F8
secondary
#E1F4CF
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B970F8

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

Preview Lab → · Contrast checker → · Palette generator →

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