#8D70D2#8D70D2

#8D70D2 is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.6% C 0.146 H 295.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8D70D2
RGBrgb(141, 112, 210)
HSLhsl(258, 52%, 63%)
HSVhsv(258, 47%, 82%)
CMYKcmyk(32.9%, 46.7%, 0%, 17.6%)
CIE-LABlab(53.92, 32.90, -46.70)
CIE-LCHlch(53.92, 57.13, 305.16°)
OKLaboklab(61.61% 0.0626 -0.1315)
OKLCHoklch(61.61% 0.146 295.4)
XYZxyz(28.4086, 21.9038, 63.6914)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D70D2 #B5D270
analogous
#7084D2 #8D70D2 #BE70D2
triadic
#8D70D2 #D28D70 #70D28D
tetradic
#8D70D2 #D27084 #B5D270 #70D2BE
square
#8D70D2 #D27084 #B5D270 #70D2BE
split-complementary
#8D70D2 #D2BE70 #84D270
monochromatic
#4F3098 #6841C3 #8D70D2 #B29FE1 #D7CDEF

Accessibility & contrast

On white

3.90
#8D70D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8D70D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D70D2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D70D2#FFFFFF#000000##000000
##8D70D21.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F82D6
Deuteranopia (green-blind)
#5580D0
Tritanopia (blue-blind)
#7D8297
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d70d2;
/* rgb */ color: rgb(141, 112, 210);
/* oklch */ color: oklch(61.6% 0.146 295.4);
Tailwind
colors: {
  custom: {
    50: '#b199e0',
    500: '#8d70d2',
    950: '#000000',
  },
}
SCSS
$custom: #8d70d2;
$custom-light: #b199e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d70d2",
  "rgb": {
    "r": 141,
    "g": 112,
    "b": 210
  },
  "hsl": {
    "h": 257.755,
    "s": 52.128,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61614,
    "c": 0.1456,
    "h": 295.4
  },
  "luminance": 0.21904
}

Semantic roles & 50–950 ramp

primary
#8D70D2
secondary
#D6E0BD
accent
#C02692
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8D70D2

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

Preview Lab → · Contrast checker → · Palette generator →

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