#B970EC#B970EC

#B970EC is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.5% C 0.187 H 309.4°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B970EC
RGBrgb(185, 112, 236)
HSLhsl(275, 77%, 68%)
HSVhsv(275, 53%, 93%)
CMYKcmyk(21.6%, 52.5%, 0%, 7.5%)
CIE-LABlab(59.85, 50.66, -51.61)
CIE-LCHlch(59.85, 72.32, 314.46°)
OKLaboklab(67.51% 0.119 -0.1446)
OKLCHoklch(67.51% 0.187 309.4)
XYZxyz(40.9392, 27.9594, 82.5807)
Luminance0.2796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B970EC #A3EC70
analogous
#7B70EC #B970EC #EC70E1
triadic
#B970EC #ECB970 #70ECB9
tetradic
#B970EC #EC7B70 #A3EC70 #70E1EC
square
#B970EC #EC7B70 #A3EC70 #70E1EC
split-complementary
#B970EC #E1EC70 #70EC7B
monochromatic
#801AC7 #9F3AE5 #B970EC #D3A6F3 #EEDCFA

Accessibility & contrast

On white

3.19
#B970EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#B970EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B970EC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B970EC#FFFFFF#000000##000000
##B970EC1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF0
Deuteranopia (green-blind)
#6491E9
Tritanopia (blue-blind)
#B286A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b970ec;
/* rgb */ color: rgb(185, 112, 236);
/* oklch */ color: oklch(67.5% 0.187 309.4);
Tailwind
colors: {
  custom: {
    50: '#d19bf3',
    500: '#b970ec',
    950: '#000000',
  },
}
SCSS
$custom: #b970ec;
$custom-light: #d19bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b970ec",
  "rgb": {
    "r": 185,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 275.323,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67512,
    "c": 0.18732,
    "h": 309.4
  },
  "luminance": 0.27959
}

Semantic roles & 50–950 ramp

primary
#B970EC
secondary
#D9EFC9
accent
#D90D61
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B970EC

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

Preview Lab → · Contrast checker → · Palette generator →

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