#9A70EC#9A70EC

#9A70EC is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.4% C 0.180 H 296.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9A70EC
RGBrgb(154, 112, 236)
HSLhsl(260, 77%, 68%)
HSVhsv(260, 53%, 93%)
CMYKcmyk(34.7%, 52.5%, 0%, 7.5%)
CIE-LABlab(56.60, 42.90, -56.99)
CIE-LCHlch(56.60, 71.33, 306.97°)
OKLaboklab(64.37% 0.0809 -0.1612)
OKLCHoklch(64.37% 0.18 296.6)
XYZxyz(34.2571, 24.5140, 82.2674)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A70EC #C2EC70
analogous
#7084EC #9A70EC #D870EC
triadic
#9A70EC #EC9A70 #70EC9A
tetradic
#9A70EC #EC7084 #C2EC70 #70ECD8
square
#9A70EC #EC7084 #C2EC70 #70ECD8
split-complementary
#9A70EC #ECD870 #84EC70
monochromatic
#551AC7 #743AE5 #9A70EC #C0A6F3 #E6DCFA

Accessibility & contrast

On white

3.56
#9A70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#9A70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A70EC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A70EC#FFFFFF#000000##000000
##9A70EC1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E88F0
Deuteranopia (green-blind)
#4986E9
Tritanopia (blue-blind)
#8789A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9a70ec;
/* rgb */ color: rgb(154, 112, 236);
/* oklch */ color: oklch(64.4% 0.180 296.6);
Tailwind
colors: {
  custom: {
    50: '#bc9af3',
    500: '#9a70ec',
    950: '#000000',
  },
}
SCSS
$custom: #9a70ec;
$custom-light: #bc9af3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a70ec",
  "rgb": {
    "r": 154,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 260.323,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64365,
    "c": 0.18038,
    "h": 296.6
  },
  "luminance": 0.24514
}

Semantic roles & 50–950 ramp

primary
#9A70EC
secondary
#E2EFC9
accent
#D90D94
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9A70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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