#8A70DF#8A70DF

#8A70DF is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.1% C 0.163 H 291.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8A70DF
RGBrgb(138, 112, 223)
HSLhsl(254, 63%, 66%)
HSVhsv(254, 50%, 87%)
CMYKcmyk(38.1%, 49.8%, 0%, 12.5%)
CIE-LABlab(54.36, 35.59, -53.37)
CIE-LCHlch(54.36, 64.14, 303.70°)
OKLaboklab(62.11% 0.0603 -0.151)
OKLCHoklch(62.11% 0.163 291.7)
XYZxyz(29.5911, 22.3186, 72.5466)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70DF #C5DF70
analogous
#708DDF #8A70DF #C170DF
triadic
#8A70DF #DF8A70 #70DF8A
tetradic
#8A70DF #DF708D #C5DF70 #70DFC1
square
#8A70DF #DF708D #C5DF70 #70DFC1
split-complementary
#8A70DF #DFC170 #8DDF70
monochromatic
#4627AE #613ED4 #8A70DF #B3A2EA #DCD4F5

Accessibility & contrast

On white

3.84
#8A70DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8A70DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70DF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70DF#FFFFFF#000000##000000
##8A70DF1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4484E3
Deuteranopia (green-blind)
#4880DC
Tritanopia (blue-blind)
#74869D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a70df;
/* rgb */ color: rgb(138, 112, 223);
/* oklch */ color: oklch(62.1% 0.163 291.7);
Tailwind
colors: {
  custom: {
    50: '#b099e9',
    500: '#8a70df',
    950: '#000000',
  },
}
SCSS
$custom: #8a70df;
$custom-light: #b099e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70df",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 254.054,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62108,
    "c": 0.16262,
    "h": 291.7
  },
  "luminance": 0.22319
}

Semantic roles & 50–950 ramp

primary
#8A70DF
secondary
#DFE8C3
accent
#CB1AA2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A70DF

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

Preview Lab → · Contrast checker → · Palette generator →

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