#9D70F2#9D70F2

#9D70F2 is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.0% C 0.188 H 296.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9D70F2
RGBrgb(157, 112, 242)
HSLhsl(261, 83%, 69%)
HSVhsv(261, 54%, 95%)
CMYKcmyk(35.1%, 53.7%, 0%, 5.1%)
CIE-LABlab(57.24, 45.15, -59.29)
CIE-LCHlch(57.24, 74.52, 307.29°)
OKLaboklab(65.02% 0.0849 -0.1679)
OKLCHoklch(65.02% 0.188 296.8)
XYZxyz(35.7218, 25.1667, 86.9628)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D70F2 #C5F270
analogous
#7084F2 #9D70F2 #DE70F2
triadic
#9D70F2 #F29D70 #70F29D
tetradic
#9D70F2 #F27084 #C5F270 #70F2DE
square
#9D70F2 #F27084 #C5F270 #70F2DE
split-complementary
#9D70F2 #F2DE70 #84F270
monochromatic
#5613D4 #7738ED #9D70F2 #C3A8F7 #EAE0FC

Accessibility & contrast

On white

3.48
#9D70F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#9D70F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D70F2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D70F2#FFFFFF#000000##000000
##9D70F21.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#388AF6
Deuteranopia (green-blind)
#4688EF
Tritanopia (blue-blind)
#898AA6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9d70f2;
/* rgb */ color: rgb(157, 112, 242);
/* oklch */ color: oklch(65.0% 0.188 296.8);
Tailwind
colors: {
  custom: {
    50: '#be9af7',
    500: '#9d70f2',
    950: '#000000',
  },
}
SCSS
$custom: #9d70f2;
$custom-light: #be9af7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d70f2",
  "rgb": {
    "r": 157,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 260.769,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65018,
    "c": 0.18812,
    "h": 296.8
  },
  "luminance": 0.25167
}

Semantic roles & 50–950 ramp

primary
#9D70F2
secondary
#E5F2CC
accent
#E00694
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D70F2

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

Preview Lab → · Contrast checker → · Palette generator →

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