#9F70EC#9F70EC

#9F70EC is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.8% C 0.181 H 298.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9F70EC
RGBrgb(159, 112, 236)
HSLhsl(263, 77%, 68%)
HSVhsv(263, 53%, 93%)
CMYKcmyk(32.6%, 52.5%, 0%, 7.5%)
CIE-LABlab(57.09, 44.12, -56.18)
CIE-LCHlch(57.09, 71.43, 308.14°)
OKLaboklab(64.84% 0.0871 -0.1587)
OKLCHoklch(64.84% 0.181 298.7)
XYZxyz(35.2289, 25.0151, 82.3130)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F70EC #BDEC70
analogous
#707FEC #9F70EC #DD70EC
triadic
#9F70EC #EC9F70 #70EC9F
tetradic
#9F70EC #EC707F #BDEC70 #70ECDD
square
#9F70EC #EC707F #BDEC70 #70ECDD
split-complementary
#9F70EC #ECDD70 #7FEC70
monochromatic
#5C1AC7 #7B3AE5 #9F70EC #C3A6F3 #E8DCFA

Accessibility & contrast

On white

3.50
#9F70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#9F70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F70EC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F70EC#FFFFFF#000000##000000
##9F70EC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4089F0
Deuteranopia (green-blind)
#4E88E9
Tritanopia (blue-blind)
#8F88A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9f70ec;
/* rgb */ color: rgb(159, 112, 236);
/* oklch */ color: oklch(64.8% 0.181 298.7);
Tailwind
colors: {
  custom: {
    50: '#bf9af3',
    500: '#9f70ec',
    950: '#000000',
  },
}
SCSS
$custom: #9f70ec;
$custom-light: #bf9af3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f70ec",
  "rgb": {
    "r": 159,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 262.742,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64844,
    "c": 0.18102,
    "h": 298.7
  },
  "luminance": 0.25015
}

Semantic roles & 50–950 ramp

primary
#9F70EC
secondary
#E0EFC9
accent
#D90D8B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #9F70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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