#8D70EC#8D70EC

#8D70EC is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.2% C 0.180 H 291.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8D70EC
RGBrgb(141, 112, 236)
HSLhsl(254, 77%, 68%)
HSVhsv(254, 53%, 93%)
CMYKcmyk(40.3%, 52.5%, 0%, 7.5%)
CIE-LABlab(55.39, 39.83, -59.00)
CIE-LCHlch(55.39, 71.18, 304.02°)
OKLaboklab(63.18% 0.0648 -0.1675)
OKLCHoklch(63.18% 0.18 291.1)
XYZxyz(31.9149, 23.3063, 82.1576)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D70EC #CFEC70
analogous
#7091EC #8D70EC #CB70EC
triadic
#8D70EC #EC8D70 #70EC8D
tetradic
#8D70EC #EC7091 #CFEC70 #70ECCB
square
#8D70EC #EC7091 #CFEC70 #70ECCB
split-complementary
#8D70EC #ECCB70 #91EC70
monochromatic
#431AC7 #623AE5 #8D70EC #B8A6F3 #E3DCFA

Accessibility & contrast

On white

3.71
#8D70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8D70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D70EC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D70EC#FFFFFF#000000##000000
##8D70EC1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F0
Deuteranopia (green-blind)
#3D82E9
Tritanopia (blue-blind)
#738AA3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d70ec;
/* rgb */ color: rgb(141, 112, 236);
/* oklch */ color: oklch(63.2% 0.180 291.1);
Tailwind
colors: {
  custom: {
    50: '#b39af3',
    500: '#8d70ec',
    950: '#000000',
  },
}
SCSS
$custom: #8d70ec;
$custom-light: #b39af3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d70ec",
  "rgb": {
    "r": 141,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 254.032,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63178,
    "c": 0.1796,
    "h": 291.1
  },
  "luminance": 0.23307
}

Semantic roles & 50–950 ramp

primary
#8D70EC
secondary
#E6EFC9
accent
#D90DA9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8D70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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