#8A70F7#8A70F7

#8A70F7 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.6% C 0.194 H 288.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8A70F7
RGBrgb(138, 112, 247)
HSLhsl(252, 89%, 70%)
HSVhsv(252, 55%, 97%)
CMYKcmyk(44.1%, 54.7%, 0%, 3.1%)
CIE-LABlab(55.79, 42.18, -64.48)
CIE-LCHlch(55.79, 77.05, 303.19°)
OKLaboklab(63.63% 0.0615 -0.1837)
OKLCHoklch(63.63% 0.194 288.5)
XYZxyz(33.0591, 23.7058, 90.8115)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70F7 #DDF770
analogous
#7099F7 #8A70F7 #CE70F7
triadic
#8A70F7 #F78A70 #70F78A
tetradic
#8A70F7 #F77099 #DDF770 #70F7CE
square
#8A70F7 #F77099 #DDF770 #70F7CE
split-complementary
#8A70F7 #F7CE70 #99F770
monochromatic
#350DE0 #5B36F4 #8A70F7 #B9AAFA #E7E2FD

Accessibility & contrast

On white

3.66
#8A70F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8A70F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70F7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70F7#FFFFFF#000000##000000
##8A70F71.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2589FC
Deuteranopia (green-blind)
#2882F4
Tritanopia (blue-blind)
#698DA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a70f7;
/* rgb */ color: rgb(138, 112, 247);
/* oklch */ color: oklch(63.6% 0.194 288.5);
Tailwind
colors: {
  custom: {
    50: '#b29afb',
    500: '#8a70f7',
    950: '#000000',
  },
}
SCSS
$custom: #8a70f7;
$custom-light: #b29afb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70f7",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 251.556,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6363,
    "c": 0.19371,
    "h": 288.5
  },
  "luminance": 0.23707
}

Semantic roles & 50–950 ramp

primary
#8A70F7
secondary
#EDF4CF
accent
#E600B9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A70F7

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

Preview Lab → · Contrast checker → · Palette generator →

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