#8A70C0#8A70C0

#8A70C0 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.3% C 0.121 H 297.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8A70C0
RGBrgb(138, 112, 192)
HSLhsl(260, 39%, 60%)
HSVhsv(260, 42%, 75%)
CMYKcmyk(28.1%, 41.7%, 0%, 24.7%)
CIE-LABlab(52.73, 27.45, -38.35)
CIE-LCHlch(52.73, 47.16, 305.60°)
OKLaboklab(60.35% 0.0561 -0.1072)
OKLCHoklch(60.35% 0.121 297.6)
XYZxyz(25.7876, 20.7971, 52.5146)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70C0 #A6C070
analogous
#707EC0 #8A70C0 #B270C0
triadic
#8A70C0 #C08A70 #70C08A
tetradic
#8A70C0 #C0707E #A6C070 #70C0B2
square
#8A70C0 #C0707E #A6C070 #70C0B2
split-complementary
#8A70C0 #C0B270 #7EC070
monochromatic
#4E387E #694AA9 #8A70C0 #AD9AD3 #D0C5E5

Accessibility & contrast

On white

4.07
#8A70C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8A70C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70C0
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70C0#FFFFFF#000000##000000
##8A70C01.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC3
Deuteranopia (green-blind)
#5E7DBE
Tritanopia (blue-blind)
#7F7E8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a70c0;
/* rgb */ color: rgb(138, 112, 192);
/* oklch */ color: oklch(60.3% 0.121 297.6);
Tailwind
colors: {
  custom: {
    50: '#ae99d3',
    500: '#8a70c0',
    950: '#000000',
  },
}
SCSS
$custom: #8a70c0;
$custom-light: #ae99d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70c0",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 192
  },
  "hsl": {
    "h": 259.5,
    "s": 38.835,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60346,
    "c": 0.12103,
    "h": 297.6
  },
  "luminance": 0.20797
}

Semantic roles & 50–950 ramp

primary
#8A70C0
secondary
#CBD5B6
accent
#CF59A8
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8A70C0

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

Preview Lab → · Contrast checker → · Palette generator →

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