#9370EB#9370EB

#9370EB is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.7% C 0.179 H 293.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9370EB
RGBrgb(147, 112, 235)
HSLhsl(257, 75%, 68%)
HSVhsv(257, 52%, 92%)
CMYKcmyk(37.4%, 52.3%, 0%, 7.8%)
CIE-LABlab(55.88, 40.97, -57.63)
CIE-LCHlch(55.88, 70.70, 305.41°)
OKLaboklab(63.65% 0.0722 -0.1633)
OKLCHoklch(63.65% 0.179 293.8)
XYZxyz(32.8183, 23.7888, 81.4438)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9370EB #C8EB70
analogous
#708AEB #9370EB #D070EB
triadic
#9370EB #EB9370 #70EB93
tetradic
#9370EB #EB708A #C8EB70 #70EBD0
square
#9370EB #EB708A #C8EB70 #70EBD0
split-complementary
#9370EB #EBD070 #8AEB70
monochromatic
#4C1CC5 #6A3AE3 #9370EB #BCA6F3 #E4DBFA

Accessibility & contrast

On white

3.65
#9370EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#9370EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9370EB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9370EB#FFFFFF#000000##000000
##9370EB1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EF
Deuteranopia (green-blind)
#4484E8
Tritanopia (blue-blind)
#7D89A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9370eb;
/* rgb */ color: rgb(147, 112, 235);
/* oklch */ color: oklch(63.7% 0.179 293.8);
Tailwind
colors: {
  custom: {
    50: '#b79af2',
    500: '#9370eb',
    950: '#000000',
  },
}
SCSS
$custom: #9370eb;
$custom-light: #b79af2;
$custom-dark: #000000;
JSON
{
  "hex": "#9370eb",
  "rgb": {
    "r": 147,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 257.073,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63654,
    "c": 0.17853,
    "h": 293.8
  },
  "luminance": 0.2379
}

Semantic roles & 50–950 ramp

primary
#9370EB
secondary
#E4EEC9
accent
#D80E9E
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9370EB

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

Preview Lab → · Contrast checker → · Palette generator →

#9370EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva