#9F70F2#9F70F2

#9F70F2 is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.2% C 0.188 H 297.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9F70F2
RGBrgb(159, 112, 242)
HSLhsl(262, 83%, 69%)
HSVhsv(262, 54%, 95%)
CMYKcmyk(34.3%, 53.7%, 0%, 5.1%)
CIE-LABlab(57.43, 45.62, -58.96)
CIE-LCHlch(57.43, 74.55, 307.73°)
OKLaboklab(65.21% 0.0873 -0.1669)
OKLCHoklch(65.21% 0.188 297.6)
XYZxyz(36.1153, 25.3696, 86.9813)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F70F2 #C3F270
analogous
#7082F2 #9F70F2 #E070F2
triadic
#9F70F2 #F29F70 #70F29F
tetradic
#9F70F2 #F27082 #C3F270 #70F2E0
square
#9F70F2 #F27082 #C3F270 #70F2E0
split-complementary
#9F70F2 #F2E070 #82F270
monochromatic
#5913D4 #7938ED #9F70F2 #C5A8F7 #EAE0FC

Accessibility & contrast

On white

3.46
#9F70F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#9F70F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F70F2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F70F2#FFFFFF#000000##000000
##9F70F21.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f70f2;
/* rgb */ color: rgb(159, 112, 242);
/* oklch */ color: oklch(65.2% 0.188 297.6);
Tailwind
colors: {
  custom: {
    50: '#bf9af7',
    500: '#9f70f2',
    950: '#000000',
  },
}
SCSS
$custom: #9f70f2;
$custom-light: #bf9af7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f70f2",
  "rgb": {
    "r": 159,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 261.692,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65209,
    "c": 0.18836,
    "h": 297.6
  },
  "luminance": 0.2537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F70F2

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

Preview Lab → · Contrast checker → · Palette generator →

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