#B970F2#B970F2

#B970F2 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.9% C 0.194 H 308.0°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B970F2
RGBrgb(185, 112, 242)
HSLhsl(274, 83%, 69%)
HSVhsv(274, 54%, 95%)
CMYKcmyk(23.6%, 53.7%, 0%, 5.1%)
CIE-LABlab(60.17, 51.99, -54.43)
CIE-LCHlch(60.17, 75.27, 313.68°)
OKLaboklab(67.85% 0.1194 -0.1529)
OKLCHoklch(67.85% 0.194 308)
XYZxyz(41.8256, 28.3140, 87.2489)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B970F2 #A9F270
analogous
#7870F2 #B970F2 #F270EA
triadic
#B970F2 #F2B970 #70F2B9
tetradic
#B970F2 #F27870 #A9F270 #70EAF2
square
#B970F2 #F27870 #A9F270 #70EAF2
split-complementary
#B970F2 #EAF270 #70F278
monochromatic
#8013D4 #9E38ED #B970F2 #D4A8F7 #F0E0FC

Accessibility & contrast

On white

3.15
#B970F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#B970F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B970F2
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B970F2#FFFFFF#000000##000000
##B970F21.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#5F92EF
Tritanopia (blue-blind)
#B187A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b970f2;
/* rgb */ color: rgb(185, 112, 242);
/* oklch */ color: oklch(67.9% 0.194 308.0);
Tailwind
colors: {
  custom: {
    50: '#d19bf7',
    500: '#b970f2',
    950: '#000000',
  },
}
SCSS
$custom: #b970f2;
$custom-light: #d19bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b970f2",
  "rgb": {
    "r": 185,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 273.692,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67851,
    "c": 0.194,
    "h": 308
  },
  "luminance": 0.28313
}

Semantic roles & 50–950 ramp

primary
#B970F2
secondary
#DDF2CC
accent
#E00665
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B970F2

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

Preview Lab → · Contrast checker → · Palette generator →

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