#8A70F8#8A70F8

#8A70F8 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.7% C 0.195 H 288.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8A70F8
RGBrgb(138, 112, 248)
HSLhsl(251, 91%, 71%)
HSVhsv(251, 55%, 97%)
CMYKcmyk(44.4%, 54.8%, 0%, 2.7%)
CIE-LABlab(55.85, 42.46, -64.93)
CIE-LCHlch(55.85, 77.58, 303.18°)
OKLaboklab(63.7% 0.0615 -0.185)
OKLCHoklch(63.7% 0.195 288.4)
XYZxyz(33.2139, 23.7677, 91.6263)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70F8 #DEF870
analogous
#709AF8 #8A70F8 #CE70F8
triadic
#8A70F8 #F88A70 #70F88A
tetradic
#8A70F8 #F8709A #DEF870 #70F8CE
square
#8A70F8 #F8709A #DEF870 #70F8CE
split-complementary
#8A70F8 #F8CE70 #9AF870
monochromatic
#340BE3 #5A36F5 #8A70F8 #BAAAFB #E7E2FE

Accessibility & contrast

On white

3.65
#8A70F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8A70F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70F8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70F8#FFFFFF#000000##000000
##8A70F81.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2389FD
Deuteranopia (green-blind)
#2582F5
Tritanopia (blue-blind)
#688EA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a70f8;
/* rgb */ color: rgb(138, 112, 248);
/* oklch */ color: oklch(63.7% 0.195 288.4);
Tailwind
colors: {
  custom: {
    50: '#b29afb',
    500: '#8a70f8',
    950: '#000000',
  },
}
SCSS
$custom: #8a70f8;
$custom-light: #b29afb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70f8",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 251.471,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63696,
    "c": 0.19498,
    "h": 288.4
  },
  "luminance": 0.23769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A70F8

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

Preview Lab → · Contrast checker → · Palette generator →

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