#9942E0#9942E0

#9942E0 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.1% C 0.229 H 305.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9942E0
RGBrgb(153, 66, 224)
HSLhsl(273, 72%, 57%)
HSVhsv(273, 71%, 88%)
CMYKcmyk(31.7%, 70.5%, 0%, 12.2%)
CIE-LABlab(47.04, 63.08, -65.63)
CIE-LCHlch(47.04, 91.03, 313.86°)
OKLaboklab(57.15% 0.1324 -0.1865)
OKLCHoklch(57.15% 0.229 305.4)
XYZxyz(28.5366, 16.0508, 72.1013)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9942E0 #89E042
analogous
#4A42E0 #9942E0 #E042D8
triadic
#9942E0 #E09942 #42E099
tetradic
#9942E0 #E04A42 #89E042 #42D8E0
square
#9942E0 #E04A42 #89E042 #42D8E0
split-complementary
#9942E0 #D8E042 #42E04A
monochromatic
#5A1890 #7B20C5 #9942E0 #B577E9 #D2ABF1

Accessibility & contrast

On white

4.99
#9942E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9942E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9942E0
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9942E0#FFFFFF#000000##FFFFFF
##9942E01.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE5
Deuteranopia (green-blind)
#0070DD
Tritanopia (blue-blind)
#8C678D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9942e0;
/* rgb */ color: rgb(153, 66, 224);
/* oklch */ color: oklch(57.1% 0.229 305.4);
Tailwind
colors: {
  custom: {
    50: '#bc7deb',
    500: '#9942e0',
    950: '#000000',
  },
}
SCSS
$custom: #9942e0;
$custom-light: #bc7deb;
$custom-dark: #000000;
JSON
{
  "hex": "#9942e0",
  "rgb": {
    "r": 153,
    "g": 66,
    "b": 224
  },
  "hsl": {
    "h": 273.038,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5715,
    "c": 0.22873,
    "h": 305.4
  },
  "luminance": 0.16051
}

Semantic roles & 50–950 ramp

primary
#9942E0
secondary
#BCDF9F
accent
#EF398B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9942E0

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

Preview Lab → · Contrast checker → · Palette generator →

#9942E0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva