#8A70B0#8A70B0

#8A70B0 is a mid, moderate violet. Relative luminance 0.201; OKLCH L 59.5% C 0.099 H 302.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8A70B0
RGBrgb(138, 112, 176)
HSLhsl(264, 29%, 56%)
HSVhsv(264, 36%, 69%)
CMYKcmyk(21.6%, 36.4%, 0%, 31%)
CIE-LABlab(51.98, 23.50, -30.30)
CIE-LCHlch(51.98, 38.34, 307.79°)
OKLaboklab(59.53% 0.0528 -0.084)
OKLCHoklch(59.53% 0.099 302.2)
XYZxyz(24.1102, 20.1262, 43.6804)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70B0 #96B070
analogous
#7076B0 #8A70B0 #AA70B0
triadic
#8A70B0 #B08A70 #70B08A
tetradic
#8A70B0 #B07076 #96B070 #70B0AA
square
#8A70B0 #B07076 #96B070 #70B0AA
split-complementary
#8A70B0 #B0AA70 #76B070
monochromatic
#4E3B6B #6B5192 #8A70B0 #AA97C6 #CBBFDC

Accessibility & contrast

On white

4.18
#8A70B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8A70B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70B0
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70B0#FFFFFF#000000##000000
##8A70B01.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#617BB2
Deuteranopia (green-blind)
#667CAE
Tritanopia (blue-blind)
#847A88
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a70b0;
/* rgb */ color: rgb(138, 112, 176);
/* oklch */ color: oklch(59.5% 0.099 302.2);
Tailwind
colors: {
  custom: {
    50: '#ad99c8',
    500: '#8a70b0',
    950: '#000000',
  },
}
SCSS
$custom: #8a70b0;
$custom-light: #ad99c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70b0",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 176
  },
  "hsl": {
    "h": 264.375,
    "s": 28.829,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59534,
    "c": 0.09919,
    "h": 302.2
  },
  "luminance": 0.20126
}

Semantic roles & 50–950 ramp

primary
#8A70B0
secondary
#C0CBB1
accent
#C5639D
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A70B0

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

Preview Lab → · Contrast checker → · Palette generator →

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