#9D70EA#9D70EA

#9D70EA is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.5% C 0.178 H 298.3°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9D70EA
RGBrgb(157, 112, 234)
HSLhsl(262, 74%, 68%)
HSVhsv(262, 52%, 92%)
CMYKcmyk(32.9%, 52.1%, 0%, 8.2%)
CIE-LABlab(56.78, 43.13, -55.57)
CIE-LCHlch(56.78, 70.34, 307.81°)
OKLaboklab(64.53% 0.0845 -0.157)
OKLCHoklch(64.53% 0.178 298.3)
XYZxyz(34.5465, 24.6966, 80.7728)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D70EA #BDEA70
analogous
#7080EA #9D70EA #DA70EA
triadic
#9D70EA #EA9D70 #70EA9D
tetradic
#9D70EA #EA7080 #BDEA70 #70EADA
square
#9D70EA #EA7080 #BDEA70 #70EADA
split-complementary
#9D70EA #EADA70 #80EA70
monochromatic
#5A1DC3 #783BE2 #9D70EA #C2A5F2 #E6DBFA

Accessibility & contrast

On white

3.54
#9D70EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#9D70EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D70EA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D70EA#FFFFFF#000000##000000
##9D70EA1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4188EE
Deuteranopia (green-blind)
#4E87E7
Tritanopia (blue-blind)
#8C88A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9d70ea;
/* rgb */ color: rgb(157, 112, 234);
/* oklch */ color: oklch(64.5% 0.178 298.3);
Tailwind
colors: {
  custom: {
    50: '#bd9af1',
    500: '#9d70ea',
    950: '#000000',
  },
}
SCSS
$custom: #9d70ea;
$custom-light: #bd9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d70ea",
  "rgb": {
    "r": 157,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 262.131,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64531,
    "c": 0.17827,
    "h": 298.3
  },
  "luminance": 0.24697
}

Semantic roles & 50–950 ramp

primary
#9D70EA
secondary
#E0EEC8
accent
#D70F8D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D70EA

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

Preview Lab → · Contrast checker → · Palette generator →

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