#8A70FD#8A70FD

#8A70FD is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.0% C 0.201 H 287.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8A70FD
RGBrgb(138, 112, 253)
HSLhsl(251, 97%, 72%)
HSVhsv(251, 56%, 99%)
CMYKcmyk(45.5%, 55.7%, 0%, 0.8%)
CIE-LABlab(56.17, 43.86, -67.19)
CIE-LCHlch(56.17, 80.24, 303.13°)
OKLaboklab(64.03% 0.0616 -0.1917)
OKLCHoklch(64.03% 0.201 287.8)
XYZxyz(33.9999, 24.0821, 95.7663)
Luminance0.2408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70FD #E3FD70
analogous
#709DFD #8A70FD #D170FD
triadic
#8A70FD #FD8A70 #70FD8A
tetradic
#8A70FD #FD709D #E3FD70 #70FDD1
square
#8A70FD #FD709D #E3FD70 #70FDD1
split-complementary
#8A70FD #FDD170 #9DFD70
monochromatic
#2F03EF #5934FC #8A70FD #BBACFE #E6E1FF

Accessibility & contrast

On white

3.61
#8A70FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8A70FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70FD
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70FD#FFFFFF#000000##000000
##8A70FD1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#168AFF
Deuteranopia (green-blind)
#1883FA
Tritanopia (blue-blind)
#658FAC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a70fd;
/* rgb */ color: rgb(138, 112, 253);
/* oklch */ color: oklch(64.0% 0.201 287.8);
Tailwind
colors: {
  custom: {
    50: '#b39aff',
    500: '#8a70fd',
    950: '#000000',
  },
}
SCSS
$custom: #8a70fd;
$custom-light: #b39aff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70fd",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 251.064,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6403,
    "c": 0.2013,
    "h": 287.8
  },
  "luminance": 0.24083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A70FD

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

Preview Lab → · Contrast checker → · Palette generator →

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