#B970F7#B970F7

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

Color values

HEX#B970F7
RGBrgb(185, 112, 247)
HSLhsl(272, 89%, 70%)
HSVhsv(272, 55%, 97%)
CMYKcmyk(25.1%, 54.7%, 0%, 3.1%)
CIE-LABlab(60.44, 53.11, -56.77)
CIE-LCHlch(60.44, 77.74, 313.09°)
OKLaboklab(68.14% 0.1196 -0.1597)
OKLCHoklch(68.14% 0.2 306.8)
XYZxyz(42.5868, 28.6185, 91.2581)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B970F7 #AEF770
analogous
#7570F7 #B970F7 #F770F2
triadic
#B970F7 #F7B970 #70F7B9
tetradic
#B970F7 #F77570 #AEF770 #70F2F7
square
#B970F7 #F77570 #AEF770 #70F2F7
split-complementary
#B970F7 #F2F770 #70F775
monochromatic
#7F0DE0 #9D36F4 #B970F7 #D5AAFA #F1E2FD

Accessibility & contrast

On white

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

On black

6.72
#B970F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B970F7
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B970F7#FFFFFF#000000##000000
##B970F71.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#428FFB
Deuteranopia (green-blind)
#5B92F4
Tritanopia (blue-blind)
#AF89A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b970f7;
/* rgb */ color: rgb(185, 112, 247);
/* oklch */ color: oklch(68.1% 0.200 306.8);
Tailwind
colors: {
  custom: {
    50: '#d19cfa',
    500: '#b970f7',
    950: '#000000',
  },
}
SCSS
$custom: #b970f7;
$custom-light: #d19cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b970f7",
  "rgb": {
    "r": 185,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 272.444,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68139,
    "c": 0.19956,
    "h": 306.8
  },
  "luminance": 0.28618
}

Semantic roles & 50–950 ramp

primary
#B970F7
secondary
#E0F4CF
accent
#E60069
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B970F7

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

Preview Lab → · Contrast checker → · Palette generator →

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