#B970FE#B970FE

#B970FE is a light, highly saturated violet. Relative luminance 0.291; OKLCH L 68.6% C 0.207 H 305.3°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#B970FE
RGBrgb(185, 112, 254)
HSLhsl(271, 99%, 72%)
HSVhsv(271, 56%, 100%)
CMYKcmyk(27.2%, 55.9%, 0%, 0.4%)
CIE-LABlab(60.83, 54.69, -60.01)
CIE-LCHlch(60.83, 81.19, 312.35°)
OKLaboklab(68.55% 0.1199 -0.1692)
OKLCHoklch(68.55% 0.207 305.3)
XYZxyz(43.6873, 29.0587, 97.0541)
Luminance0.2906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B970FE #B5FE70
analogous
#7270FE #B970FE #FE70FC
triadic
#B970FE #FEB970 #70FEB9
tetradic
#B970FE #FE7270 #B5FE70 #70FCFE
square
#B970FE #FE7270 #B5FE70 #70FCFE
split-complementary
#B970FE #FCFE70 #70FE72
monochromatic
#7D02F2 #9B33FE #B970FE #D7ADFE #F0E1FF

Accessibility & contrast

On white

3.08
#B970FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#B970FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B970FE
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B970FE#FFFFFF#000000##000000
##B970FE1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3991FF
Deuteranopia (green-blind)
#5593FB
Tritanopia (blue-blind)
#AD8BAD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b970fe;
/* rgb */ color: rgb(185, 112, 254);
/* oklch */ color: oklch(68.6% 0.207 305.3);
Tailwind
colors: {
  custom: {
    50: '#d29cff',
    500: '#b970fe',
    950: '#000000',
  },
}
SCSS
$custom: #b970fe;
$custom-light: #d29cff;
$custom-dark: #000000;
JSON
{
  "hex": "#b970fe",
  "rgb": {
    "r": 185,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 270.845,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68551,
    "c": 0.20735,
    "h": 305.3
  },
  "luminance": 0.29058
}

Semantic roles & 50–950 ramp

primary
#B970FE
secondary
#E4F7D3
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B970FE

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

Preview Lab → · Contrast checker → · Palette generator →

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