#9937E2#9937E2

#9937E2 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 56.2% C 0.242 H 305.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9937E2
RGBrgb(153, 55, 226)
HSLhsl(274, 75%, 55%)
HSVhsv(274, 76%, 89%)
CMYKcmyk(32.3%, 75.7%, 0%, 11.4%)
CIE-LABlab(45.63, 67.95, -69.06)
CIE-LCHlch(45.63, 96.89, 314.53°)
OKLaboklab(56.2% 0.142 -0.1965)
OKLCHoklch(56.2% 0.242 305.8)
XYZxyz(28.2275, 14.9959, 73.3442)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9937E2 #80E237
analogous
#4437E2 #9937E2 #E237D5
triadic
#9937E2 #E29937 #37E299
tetradic
#9937E2 #E24437 #80E237 #37D5E2
square
#9937E2 #E24437 #80E237 #37D5E2
split-complementary
#9937E2 #D5E237 #37E244
monochromatic
#58148B #7A1CC0 #9937E2 #B46CEA #D0A2F2

Accessibility & contrast

On white

5.25
#9937E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9937E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9937E2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9937E2#FFFFFF#000000##FFFFFF
##9937E21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#006CDF
Tritanopia (blue-blind)
#8C628B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9937e2;
/* rgb */ color: rgb(153, 55, 226);
/* oklch */ color: oklch(56.2% 0.242 305.8);
Tailwind
colors: {
  custom: {
    50: '#bd78ec',
    500: '#9937e2',
    950: '#000000',
  },
}
SCSS
$custom: #9937e2;
$custom-light: #bd78ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9937e2",
  "rgb": {
    "r": 153,
    "g": 55,
    "b": 226
  },
  "hsl": {
    "h": 274.386,
    "s": 74.672,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56198,
    "c": 0.24246,
    "h": 305.8
  },
  "luminance": 0.14996
}

Semantic roles & 50–950 ramp

primary
#9937E2
secondary
#B5DE97
accent
#F13786
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9937E2

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

Preview Lab → · Contrast checker → · Palette generator →

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