#9E70F2#9E70F2

#9E70F2 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.1% C 0.188 H 297.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9E70F2
RGBrgb(158, 112, 242)
HSLhsl(261, 83%, 69%)
HSVhsv(261, 54%, 95%)
CMYKcmyk(34.7%, 53.7%, 0%, 5.1%)
CIE-LABlab(57.34, 45.39, -59.13)
CIE-LCHlch(57.34, 74.54, 307.51°)
OKLaboklab(65.11% 0.0861 -0.1674)
OKLCHoklch(65.11% 0.188 297.2)
XYZxyz(35.9177, 25.2677, 86.9720)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E70F2 #C4F270
analogous
#7083F2 #9E70F2 #DF70F2
triadic
#9E70F2 #F29E70 #70F29E
tetradic
#9E70F2 #F27083 #C4F270 #70F2DF
square
#9E70F2 #F27083 #C4F270 #70F2DF
split-complementary
#9E70F2 #F2DF70 #83F270
monochromatic
#5813D4 #7838ED #9E70F2 #C4A8F7 #EAE0FC

Accessibility & contrast

On white

3.47
#9E70F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#9E70F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E70F2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E70F2#FFFFFF#000000##000000
##9E70F21.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#398AF6
Deuteranopia (green-blind)
#4788EF
Tritanopia (blue-blind)
#8B8AA6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e70f2;
/* rgb */ color: rgb(158, 112, 242);
/* oklch */ color: oklch(65.1% 0.188 297.2);
Tailwind
colors: {
  custom: {
    50: '#bf9af7',
    500: '#9e70f2',
    950: '#000000',
  },
}
SCSS
$custom: #9e70f2;
$custom-light: #bf9af7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e70f2",
  "rgb": {
    "r": 158,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 261.231,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65113,
    "c": 0.18824,
    "h": 297.2
  },
  "luminance": 0.25268
}

Semantic roles & 50–950 ramp

primary
#9E70F2
secondary
#E4F2CC
accent
#E00693
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9E70F2

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

Preview Lab → · Contrast checker → · Palette generator →

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