#8A70B8#8A70B8

#8A70B8 is a mid, moderate violet. Relative luminance 0.205; OKLCH L 59.9% C 0.110 H 299.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8A70B8
RGBrgb(138, 112, 184)
HSLhsl(262, 34%, 58%)
HSVhsv(262, 39%, 72%)
CMYKcmyk(25%, 39.1%, 0%, 27.8%)
CIE-LABlab(52.34, 25.45, -34.35)
CIE-LCHlch(52.34, 42.75, 306.54°)
OKLaboklab(59.93% 0.0546 -0.0956)
OKLCHoklch(59.93% 0.11 299.7)
XYZxyz(24.9252, 20.4522, 47.9726)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70B8 #9EB870
analogous
#707AB8 #8A70B8 #AE70B8
triadic
#8A70B8 #B88A70 #70B88A
tetradic
#8A70B8 #B8707A #9EB870 #70B8AE
square
#8A70B8 #B8707A #9EB870 #70B8AE
split-complementary
#8A70B8 #B8AE70 #7AB870
monochromatic
#4F3A74 #6A4E9D #8A70B8 #AB99CC #CDC2E1

Accessibility & contrast

On white

4.13
#8A70B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8A70B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70B8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70B8#FFFFFF#000000##000000
##8A70B81.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7DBB
Deuteranopia (green-blind)
#637CB6
Tritanopia (blue-blind)
#817C8B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a70b8;
/* rgb */ color: rgb(138, 112, 184);
/* oklch */ color: oklch(59.9% 0.110 299.7);
Tailwind
colors: {
  custom: {
    50: '#ad99cd',
    500: '#8a70b8',
    950: '#000000',
  },
}
SCSS
$custom: #8a70b8;
$custom-light: #ad99cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70b8",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 184
  },
  "hsl": {
    "h": 261.667,
    "s": 33.645,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59931,
    "c": 0.11012,
    "h": 299.7
  },
  "luminance": 0.20452
}

Semantic roles & 50–950 ramp

primary
#8A70B8
secondary
#C6D0B4
accent
#CA5EA3
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A70B8

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

Preview Lab → · Contrast checker → · Palette generator →

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