#8A70B3#8A70B3

#8A70B3 is a mid, moderate violet. Relative luminance 0.202; OKLCH L 59.7% C 0.103 H 301.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8A70B3
RGBrgb(138, 112, 179)
HSLhsl(263, 31%, 57%)
HSVhsv(263, 37%, 70%)
CMYKcmyk(22.9%, 37.4%, 0%, 29.8%)
CIE-LABlab(52.11, 24.22, -31.82)
CIE-LCHlch(52.11, 39.99, 307.28°)
OKLaboklab(59.68% 0.0535 -0.0883)
OKLCHoklch(59.68% 0.103 301.2)
XYZxyz(24.4103, 20.2462, 45.2610)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70B3 #99B370
analogous
#7077B3 #8A70B3 #AC70B3
triadic
#8A70B3 #B38A70 #70B38A
tetradic
#8A70B3 #B37077 #99B370 #70B3AC
square
#8A70B3 #B37077 #99B370 #70B3AC
split-complementary
#8A70B3 #B3AC70 #77B370
monochromatic
#4F3B6E #6B5096 #8A70B3 #AB98C8 #CBC0DD

Accessibility & contrast

On white

4.16
#8A70B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8A70B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70B3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70B3#FFFFFF#000000##000000
##8A70B31.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#607CB6
Deuteranopia (green-blind)
#657CB1
Tritanopia (blue-blind)
#837B89
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a70b3;
/* rgb */ color: rgb(138, 112, 179);
/* oklch */ color: oklch(59.7% 0.103 301.2);
Tailwind
colors: {
  custom: {
    50: '#ad99ca',
    500: '#8a70b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a70b3;
$custom-light: #ad99ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70b3",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 179
  },
  "hsl": {
    "h": 263.284,
    "s": 30.594,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59681,
    "c": 0.10329,
    "h": 301.2
  },
  "luminance": 0.20246
}

Semantic roles & 50–950 ramp

primary
#8A70B3
secondary
#C2CDB2
accent
#C7619F
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A70B3

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

Preview Lab → · Contrast checker → · Palette generator →

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