#8A70BC#8A70BC

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

Color values

HEX#8A70BC
RGBrgb(138, 112, 188)
HSLhsl(261, 36%, 59%)
HSVhsv(261, 40%, 74%)
CMYKcmyk(26.6%, 40.4%, 0%, 26.3%)
CIE-LABlab(52.53, 26.45, -36.36)
CIE-LCHlch(52.53, 44.96, 306.03°)
OKLaboklab(60.14% 0.0554 -0.1014)
OKLCHoklch(60.14% 0.116 298.6)
XYZxyz(25.3504, 20.6223, 50.2121)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70BC #A2BC70
analogous
#707CBC #8A70BC #B070BC
triadic
#8A70BC #BC8A70 #70BC8A
tetradic
#8A70BC #BC707C #A2BC70 #70BCB0
square
#8A70BC #BC707C #A2BC70 #70BCB0
split-complementary
#8A70BC #BCB070 #7CBC70
monochromatic
#4F3979 #6A4CA3 #8A70BC #AC9AD0 #CEC3E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A70BC#FFFFFF#000000##000000
##8A70BC1.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)
#5C7DBF
Deuteranopia (green-blind)
#607DBA
Tritanopia (blue-blind)
#807D8D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a70bc;
/* rgb */ color: rgb(138, 112, 188);
/* oklch */ color: oklch(60.1% 0.116 298.6);
Tailwind
colors: {
  custom: {
    50: '#ae99d0',
    500: '#8a70bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a70bc;
$custom-light: #ae99d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70bc",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 260.526,
    "s": 36.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60136,
    "c": 0.11558,
    "h": 298.6
  },
  "luminance": 0.20622
}

Semantic roles & 50–950 ramp

primary
#8A70BC
secondary
#C9D3B5
accent
#CC5CA6
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A70BC

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

Preview Lab → · Contrast checker → · Palette generator →

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