#8B70EC#8B70EC

#8B70EC is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.0% C 0.180 H 290.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8B70EC
RGBrgb(139, 112, 236)
HSLhsl(253, 77%, 68%)
HSVhsv(253, 53%, 93%)
CMYKcmyk(41.1%, 52.5%, 0%, 7.5%)
CIE-LABlab(55.21, 39.37, -59.29)
CIE-LCHlch(55.21, 71.17, 303.58°)
OKLaboklab(63% 0.0623 -0.1684)
OKLCHoklch(63% 0.18 290.3)
XYZxyz(31.5778, 23.1324, 82.1418)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B70EC #D1EC70
analogous
#7093EC #8B70EC #C970EC
triadic
#8B70EC #EC8B70 #70EC8B
tetradic
#8B70EC #EC7093 #D1EC70 #70ECC9
square
#8B70EC #EC7093 #D1EC70 #70ECC9
split-complementary
#8B70EC #ECC970 #93EC70
monochromatic
#401AC7 #5F3AE5 #8B70EC #B7A6F3 #E3DCFA

Accessibility & contrast

On white

3.73
#8B70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8B70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B70EC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B70EC#FFFFFF#000000##000000
##8B70EC1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786F0
Deuteranopia (green-blind)
#3B81E9
Tritanopia (blue-blind)
#708AA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8b70ec;
/* rgb */ color: rgb(139, 112, 236);
/* oklch */ color: oklch(63.0% 0.180 290.3);
Tailwind
colors: {
  custom: {
    50: '#b299f3',
    500: '#8b70ec',
    950: '#000000',
  },
}
SCSS
$custom: #8b70ec;
$custom-light: #b299f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b70ec",
  "rgb": {
    "r": 139,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 253.065,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63003,
    "c": 0.17959,
    "h": 290.3
  },
  "luminance": 0.23133
}

Semantic roles & 50–950 ramp

primary
#8B70EC
secondary
#E7EFC9
accent
#D90DAC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8B70EC

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

Preview Lab → · Contrast checker → · Palette generator →

#8B70EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva