#8A70FE#8A70FE

#8A70FE is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.1% C 0.203 H 287.7°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8A70FE
RGBrgb(138, 112, 254)
HSLhsl(251, 99%, 72%)
HSVhsv(251, 56%, 100%)
CMYKcmyk(45.7%, 55.9%, 0%, 0.4%)
CIE-LABlab(56.23, 44.14, -67.64)
CIE-LCHlch(56.23, 80.77, 303.13°)
OKLaboklab(64.1% 0.0616 -0.193)
OKLCHoklch(64.1% 0.203 287.7)
XYZxyz(34.1596, 24.1460, 96.6075)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70FE #E4FE70
analogous
#709DFE #8A70FE #D170FE
triadic
#8A70FE #FE8A70 #70FE8A
tetradic
#8A70FE #FE709D #E4FE70 #70FED1
square
#8A70FE #FE709D #E4FE70 #70FED1
split-complementary
#8A70FE #FED170 #9DFE70
monochromatic
#2E02F2 #5833FE #8A70FE #BCADFE #E6E1FF

Accessibility & contrast

On white

3.60
#8A70FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#8A70FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70FE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70FE#FFFFFF#000000##000000
##8A70FE1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#128AFF
Deuteranopia (green-blind)
#1483FB
Tritanopia (blue-blind)
#6590AC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a70fe;
/* rgb */ color: rgb(138, 112, 254);
/* oklch */ color: oklch(64.1% 0.203 287.7);
Tailwind
colors: {
  custom: {
    50: '#b39aff',
    500: '#8a70fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a70fe;
$custom-light: #b39aff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70fe",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 250.986,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64098,
    "c": 0.20256,
    "h": 287.7
  },
  "luminance": 0.24147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A70FE

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

Preview Lab → · Contrast checker → · Palette generator →

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