#8A70C8#8A70C8

#8A70C8 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 60.8% C 0.132 H 295.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8A70C8
RGBrgb(138, 112, 200)
HSLhsl(258, 44%, 61%)
HSVhsv(258, 44%, 78%)
CMYKcmyk(31%, 44%, 0%, 21.6%)
CIE-LABlab(53.13, 29.50, -42.30)
CIE-LCHlch(53.13, 51.57, 304.89°)
OKLaboklab(60.78% 0.0575 -0.1187)
OKLCHoklch(60.78% 0.132 295.8)
XYZxyz(26.6982, 21.1614, 57.3103)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70C8 #AEC870
analogous
#7082C8 #8A70C8 #B670C8
triadic
#8A70C8 #C88A70 #70C88A
tetradic
#8A70C8 #C87082 #AEC870 #70C8B6
square
#8A70C8 #C87082 #AEC870 #70C8B6
split-complementary
#8A70C8 #C8B670 #82C870
monochromatic
#4E3589 #6746B5 #8A70C8 #AE9CD9 #D2C8EA

Accessibility & contrast

On white

4.01
#8A70C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8A70C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70C8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70C8#FFFFFF#000000##000000
##8A70C81.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCB
Deuteranopia (green-blind)
#5A7EC6
Tritanopia (blue-blind)
#7D8092
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a70c8;
/* rgb */ color: rgb(138, 112, 200);
/* oklch */ color: oklch(60.8% 0.132 295.8);
Tailwind
colors: {
  custom: {
    50: '#ae99d9',
    500: '#8a70c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a70c8;
$custom-light: #ae99d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70c8",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 257.727,
    "s": 44.444,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60777,
    "c": 0.13189,
    "h": 295.8
  },
  "luminance": 0.21162
}

Semantic roles & 50–950 ramp

primary
#8A70C8
secondary
#D1DAB9
accent
#B82E8F
background
#FAF9FD
surface
#F5F2FA
border
#CFCCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #8A70C8

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

Preview Lab → · Contrast checker → · Palette generator →

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