#8A70F5#8A70F5

#8A70F5 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.5% C 0.191 H 288.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A70F5
RGBrgb(138, 112, 245)
HSLhsl(252, 87%, 70%)
HSVhsv(252, 54%, 96%)
CMYKcmyk(43.7%, 54.3%, 0%, 3.9%)
CIE-LABlab(55.67, 41.63, -63.57)
CIE-LCHlch(55.67, 75.99, 303.22°)
OKLaboklab(63.5% 0.0615 -0.181)
OKLCHoklch(63.5% 0.191 288.8)
XYZxyz(32.7522, 23.5830, 89.1948)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70F5 #DBF570
analogous
#7099F5 #8A70F5 #CC70F5
triadic
#8A70F5 #F58A70 #70F58A
tetradic
#8A70F5 #F57099 #DBF570 #70F5CC
square
#8A70F5 #F57099 #DBF570 #70F5CC
split-complementary
#8A70F5 #F5CC70 #99F570
monochromatic
#370FDB #5B37F1 #8A70F5 #B9A9F9 #E8E2FD

Accessibility & contrast

On white

3.67
#8A70F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8A70F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70F5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70F5#FFFFFF#000000##000000
##8A70F51.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2988FA
Deuteranopia (green-blind)
#2B82F2
Tritanopia (blue-blind)
#6A8DA8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a70f5;
/* rgb */ color: rgb(138, 112, 245);
/* oklch */ color: oklch(63.5% 0.191 288.8);
Tailwind
colors: {
  custom: {
    50: '#b29af9',
    500: '#8a70f5',
    950: '#000000',
  },
}
SCSS
$custom: #8a70f5;
$custom-light: #b29af9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70f5",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 251.729,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.63498,
    "c": 0.19116,
    "h": 288.8
  },
  "luminance": 0.23584
}

Semantic roles & 50–950 ramp

primary
#8A70F5
secondary
#ECF3CE
accent
#E302B7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A70F5

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

Preview Lab → · Contrast checker → · Palette generator →

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