#8A70F4#8A70F4

#8A70F4 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.4% C 0.190 H 288.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A70F4
RGBrgb(138, 112, 244)
HSLhsl(252, 86%, 70%)
HSVhsv(252, 54%, 96%)
CMYKcmyk(43.4%, 54.1%, 0%, 4.3%)
CIE-LABlab(55.61, 41.35, -63.11)
CIE-LCHlch(55.61, 75.45, 303.23°)
OKLaboklab(63.43% 0.0614 -0.1797)
OKLCHoklch(63.43% 0.19 288.9)
XYZxyz(32.5999, 23.5221, 88.3930)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70F4 #DAF470
analogous
#7098F4 #8A70F4 #CC70F4
triadic
#8A70F4 #F48A70 #70F48A
tetradic
#8A70F4 #F47098 #DAF470 #70F4CC
square
#8A70F4 #F47098 #DAF470 #70F4CC
split-complementary
#8A70F4 #F4CC70 #98F470
monochromatic
#3811D9 #5C37F0 #8A70F4 #B8A9F8 #E7E2FD

Accessibility & contrast

On white

3.68
#8A70F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8A70F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70F4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70F4#FFFFFF#000000##000000
##8A70F41.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B88F8
Deuteranopia (green-blind)
#2D82F1
Tritanopia (blue-blind)
#6A8DA7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a70f4;
/* rgb */ color: rgb(138, 112, 244);
/* oklch */ color: oklch(63.4% 0.190 288.9);
Tailwind
colors: {
  custom: {
    50: '#b29af8',
    500: '#8a70f4',
    950: '#000000',
  },
}
SCSS
$custom: #8a70f4;
$custom-light: #b29af8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70f4",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 244
  },
  "hsl": {
    "h": 251.818,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63433,
    "c": 0.18988,
    "h": 288.9
  },
  "luminance": 0.23523
}

Semantic roles & 50–950 ramp

primary
#8A70F4
secondary
#EBF3CD
accent
#E203B6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A70F4

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

Preview Lab → · Contrast checker → · Palette generator →

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