#8A70BE#8A70BE

#8A70BE is a mid, moderate violet. Relative luminance 0.207; OKLCH L 60.2% C 0.118 H 298.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8A70BE
RGBrgb(138, 112, 190)
HSLhsl(260, 38%, 59%)
HSVhsv(260, 41%, 75%)
CMYKcmyk(27.4%, 41.1%, 0%, 25.5%)
CIE-LABlab(52.63, 26.95, -37.36)
CIE-LCHlch(52.63, 46.06, 305.81°)
OKLaboklab(60.24% 0.0558 -0.1043)
OKLCHoklch(60.24% 0.118 298.1)
XYZxyz(25.5675, 20.7091, 51.3555)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70BE #A4BE70
analogous
#707DBE #8A70BE #B170BE
triadic
#8A70BE #BE8A70 #70BE8A
tetradic
#8A70BE #BE707D #A4BE70 #70BEB1
square
#8A70BE #BE707D #A4BE70 #70BEB1
split-complementary
#8A70BE #BEB170 #7DBE70
monochromatic
#4F387B #694BA6 #8A70BE #AC9AD1 #CFC4E4

Accessibility & contrast

On white

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

On black

5.14
#8A70BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70BE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70BE#FFFFFF#000000##000000
##8A70BE1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC1
Deuteranopia (green-blind)
#5F7DBC
Tritanopia (blue-blind)
#807E8E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a70be;
/* rgb */ color: rgb(138, 112, 190);
/* oklch */ color: oklch(60.2% 0.118 298.1);
Tailwind
colors: {
  custom: {
    50: '#ae99d2',
    500: '#8a70be',
    950: '#000000',
  },
}
SCSS
$custom: #8a70be;
$custom-light: #ae99d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70be",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 190
  },
  "hsl": {
    "h": 260,
    "s": 37.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6024,
    "c": 0.1183,
    "h": 298.1
  },
  "luminance": 0.20709
}

Semantic roles & 50–950 ramp

primary
#8A70BE
secondary
#CAD4B6
accent
#CD5AA7
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A70BE

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

Preview Lab → · Contrast checker → · Palette generator →

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