#9937E5#9937E5

#9937E5 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.4% C 0.245 H 305.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9937E5
RGBrgb(153, 55, 229)
HSLhsl(274, 77%, 56%)
HSVhsv(274, 76%, 90%)
CMYKcmyk(33.2%, 76%, 0%, 10.2%)
CIE-LABlab(45.86, 68.60, -70.40)
CIE-LCHlch(45.86, 98.30, 314.26°)
OKLaboklab(56.43% 0.1413 -0.2005)
OKLCHoklch(56.43% 0.245 305.2)
XYZxyz(28.6427, 15.1620, 75.5312)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9937E5 #83E537
analogous
#4237E5 #9937E5 #E537DA
triadic
#9937E5 #E59937 #37E599
tetradic
#9937E5 #E54237 #83E537 #37DAE5
square
#9937E5 #E54237 #83E537 #37DAE5
split-complementary
#9937E5 #DAE537 #37E542
monochromatic
#59138F #7A1AC5 #9937E5 #B56DEC #D0A3F3

Accessibility & contrast

On white

5.21
#9937E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9937E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9937E5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9937E5#FFFFFF#000000##FFFFFF
##9937E51.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#006DE2
Tritanopia (blue-blind)
#8B648D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9937e5;
/* rgb */ color: rgb(153, 55, 229);
/* oklch */ color: oklch(56.4% 0.245 305.2);
Tailwind
colors: {
  custom: {
    50: '#bd78ee',
    500: '#9937e5',
    950: '#000000',
  },
}
SCSS
$custom: #9937e5;
$custom-light: #bd78ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9937e5",
  "rgb": {
    "r": 153,
    "g": 55,
    "b": 229
  },
  "hsl": {
    "h": 273.793,
    "s": 76.991,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56427,
    "c": 0.24526,
    "h": 305.2
  },
  "luminance": 0.15162
}

Semantic roles & 50–950 ramp

primary
#9937E5
secondary
#B7E098
accent
#F43488
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A17
muted
#827C85

Preview Lab

Preview with #9937E5

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

Preview Lab → · Contrast checker → · Palette generator →

#9937E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva