#8A70CD#8A70CD

#8A70CD is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.1% C 0.139 H 294.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8A70CD
RGBrgb(138, 112, 205)
HSLhsl(257, 48%, 62%)
HSVhsv(257, 45%, 80%)
CMYKcmyk(32.7%, 45.4%, 0%, 19.6%)
CIE-LABlab(53.38, 30.80, -44.74)
CIE-LCHlch(53.38, 54.32, 304.54°)
OKLaboklab(61.06% 0.0582 -0.1258)
OKLCHoklch(61.06% 0.139 294.8)
XYZxyz(27.2921, 21.3989, 60.4383)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70CD #B3CD70
analogous
#7085CD #8A70CD #B970CD
triadic
#8A70CD #CD8A70 #70CD8A
tetradic
#8A70CD #CD7085 #B3CD70 #70CDB9
square
#8A70CD #CD7085 #B3CD70 #70CDB9
split-complementary
#8A70CD #CDB970 #85CD70
monochromatic
#4D3290 #6543BD #8A70CD #AF9DDD #D4CBED

Accessibility & contrast

On white

3.98
#8A70CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8A70CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70CD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70CD#FFFFFF#000000##000000
##8A70CD1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280D0
Deuteranopia (green-blind)
#567ECB
Tritanopia (blue-blind)
#7B8195
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a70cd;
/* rgb */ color: rgb(138, 112, 205);
/* oklch */ color: oklch(61.1% 0.139 294.8);
Tailwind
colors: {
  custom: {
    50: '#af99dd',
    500: '#8a70cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a70cd;
$custom-light: #af99dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70cd",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 256.774,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61055,
    "c": 0.13865,
    "h": 294.8
  },
  "luminance": 0.21399
}

Semantic roles & 50–950 ramp

primary
#8A70CD
secondary
#D4DDBB
accent
#BB2A93
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A70CD

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

Preview Lab → · Contrast checker → · Palette generator →

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