#9374EF#9374EF

#9374EF is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.6% C 0.178 H 292.3°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9374EF
RGBrgb(147, 116, 239)
HSLhsl(255, 79%, 70%)
HSVhsv(255, 51%, 94%)
CMYKcmyk(38.5%, 51.5%, 0%, 6.3%)
CIE-LABlab(57.00, 39.76, -58.05)
CIE-LCHlch(57.00, 70.36, 304.41°)
OKLaboklab(64.57% 0.0675 -0.1645)
OKLCHoklch(64.57% 0.178 292.3)
XYZxyz(33.8538, 24.9250, 84.6719)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9374EF #D0EF74
analogous
#7493EF #9374EF #D174EF
triadic
#9374EF #EF9374 #74EF93
tetradic
#9374EF #EF7493 #D0EF74 #74EFD1
square
#9374EF #EF7493 #D0EF74 #74EFD1
split-complementary
#9374EF #EFD174 #93EF74
monochromatic
#4718D1 #683DE9 #9374EF #BEABF5 #E8E2FC

Accessibility & contrast

On white

3.51
#9374EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#9374EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9374EF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9374EF#FFFFFF#000000##000000
##9374EF1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#408BF3
Deuteranopia (green-blind)
#4686EC
Tritanopia (blue-blind)
#7B8DA7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9374ef;
/* rgb */ color: rgb(147, 116, 239);
/* oklch */ color: oklch(64.6% 0.178 292.3);
Tailwind
colors: {
  custom: {
    50: '#b79df5',
    500: '#9374ef',
    950: '#000000',
  },
}
SCSS
$custom: #9374ef;
$custom-light: #b79df5;
$custom-dark: #000000;
JSON
{
  "hex": "#9374ef",
  "rgb": {
    "r": 147,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 255.122,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64566,
    "c": 0.17784,
    "h": 292.3
  },
  "luminance": 0.24926
}

Semantic roles & 50–950 ramp

primary
#9374EF
secondary
#E8F1CE
accent
#DC0AA7
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9374EF

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

Preview Lab → · Contrast checker → · Palette generator →

#9374EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva