#9942E3#9942E3

#9942E3 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.4% C 0.232 H 304.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9942E3
RGBrgb(153, 66, 227)
HSLhsl(272, 74%, 57%)
HSVhsv(272, 71%, 89%)
CMYKcmyk(32.6%, 70.9%, 0%, 11%)
CIE-LABlab(47.26, 63.75, -66.99)
CIE-LCHlch(47.26, 92.47, 313.58°)
OKLaboklab(57.37% 0.1319 -0.1905)
OKLCHoklch(57.37% 0.232 304.7)
XYZxyz(28.9471, 16.2149, 74.2630)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9942E3 #8CE342
analogous
#4842E3 #9942E3 #E342DD
triadic
#9942E3 #E39942 #42E399
tetradic
#9942E3 #E34842 #8CE342 #42DDE3
square
#9942E3 #E34842 #8CE342 #42DDE3
split-complementary
#9942E3 #DDE342 #42E348
monochromatic
#5A1695 #7B1ECA #9942E3 #B677EB #D3ADF3

Accessibility & contrast

On white

4.95
#9942E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9942E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9942E3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9942E3#FFFFFF#000000##FFFFFF
##9942E31.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#0070E0
Tritanopia (blue-blind)
#8B688F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9942e3;
/* rgb */ color: rgb(153, 66, 227);
/* oklch */ color: oklch(57.4% 0.232 304.7);
Tailwind
colors: {
  custom: {
    50: '#bd7eed',
    500: '#9942e3',
    950: '#000000',
  },
}
SCSS
$custom: #9942e3;
$custom-light: #bd7eed;
$custom-dark: #000000;
JSON
{
  "hex": "#9942e3",
  "rgb": {
    "r": 153,
    "g": 66,
    "b": 227
  },
  "hsl": {
    "h": 272.422,
    "s": 74.194,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57369,
    "c": 0.23172,
    "h": 304.7
  },
  "luminance": 0.16215
}

Semantic roles & 50–950 ramp

primary
#9942E3
secondary
#BEE1A0
accent
#F1378C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9942E3

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

Preview Lab → · Contrast checker → · Palette generator →

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