#8A70FB#8A70FB

#8A70FB is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.9% C 0.199 H 288.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8A70FB
RGBrgb(138, 112, 251)
HSLhsl(251, 95%, 71%)
HSVhsv(251, 55%, 98%)
CMYKcmyk(45%, 55.4%, 0%, 1.6%)
CIE-LABlab(56.04, 43.30, -66.29)
CIE-LCHlch(56.04, 79.18, 303.15°)
OKLaboklab(63.9% 0.0616 -0.189)
OKLCHoklch(63.9% 0.199 288)
XYZxyz(33.6830, 23.9553, 94.0972)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70FB #E1FB70
analogous
#709BFB #8A70FB #CF70FB
triadic
#8A70FB #FB8A70 #70FB8A
tetradic
#8A70FB #FB709B #E1FB70 #70FBCF
square
#8A70FB #FB709B #E1FB70 #70FBCF
split-complementary
#8A70FB #FBCF70 #9BFB70
monochromatic
#3107EA #5934F9 #8A70FB #BBACFD #E7E1FE

Accessibility & contrast

On white

3.63
#8A70FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8A70FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70FB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70FB#FFFFFF#000000##000000
##8A70FB1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C8AFF
Deuteranopia (green-blind)
#1E83F8
Tritanopia (blue-blind)
#668FAB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a70fb;
/* rgb */ color: rgb(138, 112, 251);
/* oklch */ color: oklch(63.9% 0.199 288.0);
Tailwind
colors: {
  custom: {
    50: '#b39afd',
    500: '#8a70fb',
    950: '#000000',
  },
}
SCSS
$custom: #8a70fb;
$custom-light: #b39afd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70fb",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 251.223,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63896,
    "c": 0.19878,
    "h": 288
  },
  "luminance": 0.23957
}

Semantic roles & 50–950 ramp

primary
#8A70FB
secondary
#EFF6D1
accent
#E600BB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A70FB

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

Preview Lab → · Contrast checker → · Palette generator →

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