#8A70CF#8A70CF

#8A70CF is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.2% C 0.141 H 294.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A70CF
RGBrgb(138, 112, 207)
HSLhsl(256, 50%, 63%)
HSVhsv(256, 46%, 81%)
CMYKcmyk(33.3%, 45.9%, 0%, 18.8%)
CIE-LABlab(53.49, 31.32, -45.71)
CIE-LCHlch(53.49, 55.41, 304.42°)
OKLaboklab(61.17% 0.0585 -0.1286)
OKLCHoklch(61.17% 0.141 294.5)
XYZxyz(27.5350, 21.4961, 61.7178)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70CF #B5CF70
analogous
#7086CF #8A70CF #B970CF
triadic
#8A70CF #CF8A70 #70CF8A
tetradic
#8A70CF #CF7086 #B5CF70 #70CFB9
square
#8A70CF #CF7086 #B5CF70 #70CFB9
split-complementary
#8A70CF #CFB970 #86CF70
monochromatic
#4C3193 #6542C0 #8A70CF #AF9EDE #D5CCEE

Accessibility & contrast

On white

3.96
#8A70CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8A70CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70CF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70CF#FFFFFF#000000##000000
##8A70CF1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D2
Deuteranopia (green-blind)
#557ECD
Tritanopia (blue-blind)
#7A8296
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a70cf;
/* rgb */ color: rgb(138, 112, 207);
/* oklch */ color: oklch(61.2% 0.141 294.5);
Tailwind
colors: {
  custom: {
    50: '#af99de',
    500: '#8a70cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a70cf;
$custom-light: #af99de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70cf",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 256.421,
    "s": 49.738,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61168,
    "c": 0.14133,
    "h": 294.5
  },
  "luminance": 0.21497
}

Semantic roles & 50–950 ramp

primary
#8A70CF
secondary
#D5DFBC
accent
#BD2894
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A70CF

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

Preview Lab → · Contrast checker → · Palette generator →

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