#9A70DB#9A70DB

#9A70DB is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.4% C 0.159 H 300.0°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9A70DB
RGBrgb(154, 112, 219)
HSLhsl(264, 60%, 65%)
HSVhsv(264, 49%, 86%)
CMYKcmyk(29.7%, 48.9%, 0%, 14.1%)
CIE-LABlab(55.66, 38.62, -48.96)
CIE-LCHlch(55.66, 62.36, 308.26°)
OKLaboklab(63.36% 0.0796 -0.1377)
OKLCHoklch(63.36% 0.159 300)
XYZxyz(31.9038, 23.5726, 69.8733)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A70DB #B1DB70
analogous
#707CDB #9A70DB #CF70DB
triadic
#9A70DB #DB9A70 #70DB9A
tetradic
#9A70DB #DB707C #B1DB70 #70DBCF
square
#9A70DB #DB707C #B1DB70 #70DBCF
split-complementary
#9A70DB #DBCF70 #7CDB70
monochromatic
#5B2AA7 #773FCF #9A70DB #BDA1E7 #DFD2F4

Accessibility & contrast

On white

3.67
#9A70DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#9A70DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A70DB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A70DB#FFFFFF#000000##000000
##9A70DB1.003.675.715.71
#FFFFFF3.671.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D85DF
Deuteranopia (green-blind)
#5885D8
Tritanopia (blue-blind)
#8D849B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9a70db;
/* rgb */ color: rgb(154, 112, 219);
/* oklch */ color: oklch(63.4% 0.159 300.0);
Tailwind
colors: {
  custom: {
    50: '#ba9ae7',
    500: '#9a70db',
    950: '#000000',
  },
}
SCSS
$custom: #9a70db;
$custom-light: #ba9ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a70db",
  "rgb": {
    "r": 154,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 263.551,
    "s": 59.777,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63361,
    "c": 0.15907,
    "h": 300
  },
  "luminance": 0.23573
}

Semantic roles & 50–950 ramp

primary
#9A70DB
secondary
#D7E6C1
accent
#C71E85
background
#FBF9FE
surface
#F7F2FC
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9A70DB

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

Preview Lab → · Contrast checker → · Palette generator →

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