#9D70EC#9D70EC

#9D70EC is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.7% C 0.181 H 297.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9D70EC
RGBrgb(157, 112, 236)
HSLhsl(262, 77%, 68%)
HSVhsv(262, 53%, 93%)
CMYKcmyk(33.5%, 52.5%, 0%, 7.5%)
CIE-LABlab(56.89, 43.63, -56.50)
CIE-LCHlch(56.89, 71.39, 307.67°)
OKLaboklab(64.65% 0.0846 -0.1597)
OKLCHoklch(64.65% 0.181 297.9)
XYZxyz(34.8354, 24.8122, 82.2945)
Luminance0.2481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D70EC #BFEC70
analogous
#7081EC #9D70EC #DB70EC
triadic
#9D70EC #EC9D70 #70EC9D
tetradic
#9D70EC #EC7081 #BFEC70 #70ECDB
square
#9D70EC #EC7081 #BFEC70 #70ECDB
split-complementary
#9D70EC #ECDB70 #81EC70
monochromatic
#591AC7 #783AE5 #9D70EC #C2A6F3 #E7DCFA

Accessibility & contrast

On white

3.52
#9D70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#9D70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D70EC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D70EC#FFFFFF#000000##000000
##9D70EC1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F89F0
Deuteranopia (green-blind)
#4C87E9
Tritanopia (blue-blind)
#8C89A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9d70ec;
/* rgb */ color: rgb(157, 112, 236);
/* oklch */ color: oklch(64.7% 0.181 297.9);
Tailwind
colors: {
  custom: {
    50: '#be9af3',
    500: '#9d70ec',
    950: '#000000',
  },
}
SCSS
$custom: #9d70ec;
$custom-light: #be9af3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d70ec",
  "rgb": {
    "r": 157,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 261.774,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64651,
    "c": 0.18074,
    "h": 297.9
  },
  "luminance": 0.24813
}

Semantic roles & 50–950 ramp

primary
#9D70EC
secondary
#E1EFC9
accent
#D90D8F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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