#8A70BF#8A70BF

#8A70BF is a mid, moderate violet. Relative luminance 0.208; OKLCH L 60.3% C 0.120 H 297.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8A70BF
RGBrgb(138, 112, 191)
HSLhsl(260, 38%, 59%)
HSVhsv(260, 41%, 75%)
CMYKcmyk(27.7%, 41.4%, 0%, 25.1%)
CIE-LABlab(52.68, 27.20, -37.85)
CIE-LCHlch(52.68, 46.61, 305.70°)
OKLaboklab(60.29% 0.056 -0.1058)
OKLCHoklch(60.29% 0.12 297.9)
XYZxyz(25.6772, 20.7530, 51.9331)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70BF #A5BF70
analogous
#707EBF #8A70BF #B270BF
triadic
#8A70BF #BF8A70 #70BF8A
tetradic
#8A70BF #BF707E #A5BF70 #70BFB2
square
#8A70BF #BF707E #A5BF70 #70BFB2
split-complementary
#8A70BF #BFB270 #7EBF70
monochromatic
#4F387D #694BA7 #8A70BF #AD9AD2 #CFC5E5

Accessibility & contrast

On white

4.08
#8A70BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8A70BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70BF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70BF#FFFFFF#000000##000000
##8A70BF1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC2
Deuteranopia (green-blind)
#5F7DBD
Tritanopia (blue-blind)
#7F7E8E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a70bf;
/* rgb */ color: rgb(138, 112, 191);
/* oklch */ color: oklch(60.3% 0.120 297.9);
Tailwind
colors: {
  custom: {
    50: '#ae99d2',
    500: '#8a70bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a70bf;
$custom-light: #ae99d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70bf",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 259.747,
    "s": 38.164,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60293,
    "c": 0.11967,
    "h": 297.9
  },
  "luminance": 0.20753
}

Semantic roles & 50–950 ramp

primary
#8A70BF
secondary
#CBD5B6
accent
#CE5AA8
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A70BF

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

Preview Lab → · Contrast checker → · Palette generator →

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