#B970E2#B970E2

#B970E2 is a light, vivid violet. Relative luminance 0.274; OKLCH L 67.0% C 0.176 H 312.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B970E2
RGBrgb(185, 112, 226)
HSLhsl(278, 66%, 66%)
HSVhsv(278, 50%, 89%)
CMYKcmyk(18.1%, 50.4%, 0%, 11.4%)
CIE-LABlab(59.34, 48.48, -46.85)
CIE-LCHlch(59.34, 67.42, 315.98°)
OKLaboklab(66.97% 0.1182 -0.1308)
OKLCHoklch(66.97% 0.176 312.1)
XYZxyz(39.5268, 27.3945, 75.1422)
Luminance0.2739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B970E2 #99E270
analogous
#8070E2 #B970E2 #E270D2
triadic
#B970E2 #E2B970 #70E2B9
tetradic
#B970E2 #E28070 #99E270 #70D2E2
square
#B970E2 #E28070 #99E270 #70D2E2
split-complementary
#B970E2 #D2E270 #70E280
monochromatic
#8024B3 #A03DD8 #B970E2 #D2A3EC #EBD6F7

Accessibility & contrast

On white

3.24
#B970E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#B970E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B970E2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B970E2#FFFFFF#000000##000000
##B970E21.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#548BE6
Deuteranopia (green-blind)
#6A90DF
Tritanopia (blue-blind)
#B5829F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b970e2;
/* rgb */ color: rgb(185, 112, 226);
/* oklch */ color: oklch(67.0% 0.176 312.1);
Tailwind
colors: {
  custom: {
    50: '#d09beb',
    500: '#b970e2',
    950: '#000000',
  },
}
SCSS
$custom: #b970e2;
$custom-light: #d09beb;
$custom-dark: #000000;
JSON
{
  "hex": "#b970e2",
  "rgb": {
    "r": 185,
    "g": 112,
    "b": 226
  },
  "hsl": {
    "h": 278.421,
    "s": 66.279,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66965,
    "c": 0.17625,
    "h": 312.1
  },
  "luminance": 0.27394
}

Semantic roles & 50–950 ramp

primary
#B970E2
secondary
#D2EAC4
accent
#CE1759
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B970E2

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

Preview Lab → · Contrast checker → · Palette generator →

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