#8A70BB#8A70BB

#8A70BB is a mid, moderate violet. Relative luminance 0.206; OKLCH L 60.1% C 0.114 H 298.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8A70BB
RGBrgb(138, 112, 187)
HSLhsl(261, 36%, 59%)
HSVhsv(261, 40%, 73%)
CMYKcmyk(26.2%, 40.1%, 0%, 26.7%)
CIE-LABlab(52.49, 26.20, -35.86)
CIE-LCHlch(52.49, 44.41, 306.15°)
OKLaboklab(60.08% 0.0552 -0.1)
OKLCHoklch(60.08% 0.114 298.9)
XYZxyz(25.2430, 20.5793, 49.6464)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70BB #A1BB70
analogous
#707BBB #8A70BB #AF70BB
triadic
#8A70BB #BB8A70 #70BB8A
tetradic
#8A70BB #BB707B #A1BB70 #70BBAF
square
#8A70BB #BB707B #A1BB70 #70BBAF
split-complementary
#8A70BB #BBAF70 #7BBB70
monochromatic
#4F3978 #6A4DA1 #8A70BB #AC99CF #CEC3E2

Accessibility & contrast

On white

4.10
#8A70BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8A70BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70BB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70BB#FFFFFF#000000##000000
##8A70BB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBE
Deuteranopia (green-blind)
#617DB9
Tritanopia (blue-blind)
#817D8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a70bb;
/* rgb */ color: rgb(138, 112, 187);
/* oklch */ color: oklch(60.1% 0.114 298.9);
Tailwind
colors: {
  custom: {
    50: '#ae99d0',
    500: '#8a70bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a70bb;
$custom-light: #ae99d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70bb",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 260.8,
    "s": 35.545,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60084,
    "c": 0.11421,
    "h": 298.9
  },
  "luminance": 0.20579
}

Semantic roles & 50–950 ramp

primary
#8A70BB
secondary
#C8D2B5
accent
#CC5CA5
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A70BB

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

Preview Lab → · Contrast checker → · Palette generator →

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