#9F70EA#9F70EA

#9F70EA is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.7% C 0.179 H 299.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9F70EA
RGBrgb(159, 112, 234)
HSLhsl(263, 74%, 68%)
HSVhsv(263, 52%, 92%)
CMYKcmyk(32.1%, 52.1%, 0%, 8.2%)
CIE-LABlab(56.98, 43.62, -55.24)
CIE-LCHlch(56.98, 70.39, 308.30°)
OKLaboklab(64.72% 0.0869 -0.156)
OKLCHoklch(64.72% 0.179 299.1)
XYZxyz(34.9400, 24.8995, 80.7912)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F70EA #BBEA70
analogous
#707EEA #9F70EA #DC70EA
triadic
#9F70EA #EA9F70 #70EA9F
tetradic
#9F70EA #EA707E #BBEA70 #70EADC
square
#9F70EA #EA707E #BBEA70 #70EADC
split-complementary
#9F70EA #EADC70 #7EEA70
monochromatic
#5D1DC3 #7B3BE2 #9F70EA #C3A5F2 #E7DBFA

Accessibility & contrast

On white

3.51
#9F70EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#9F70EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F70EA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F70EA#FFFFFF#000000##000000
##9F70EA1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4289EE
Deuteranopia (green-blind)
#5088E7
Tritanopia (blue-blind)
#8F88A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9f70ea;
/* rgb */ color: rgb(159, 112, 234);
/* oklch */ color: oklch(64.7% 0.179 299.1);
Tailwind
colors: {
  custom: {
    50: '#bf9af1',
    500: '#9f70ea',
    950: '#000000',
  },
}
SCSS
$custom: #9f70ea;
$custom-light: #bf9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f70ea",
  "rgb": {
    "r": 159,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 263.115,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64724,
    "c": 0.17856,
    "h": 299.1
  },
  "luminance": 0.249
}

Semantic roles & 50–950 ramp

primary
#9F70EA
secondary
#DFEEC8
accent
#D70F8A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9F70EA

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

Preview Lab → · Contrast checker → · Palette generator →

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