#942E99#942E99

#942E99 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.185 H 325.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#942E99
RGBrgb(148, 46, 153)
HSLhsl(297, 54%, 39%)
HSVhsv(297, 70%, 60%)
CMYKcmyk(3.3%, 69.9%, 0%, 40%)
CIE-LABlab(38.81, 55.77, -37.31)
CIE-LCHlch(38.81, 67.10, 326.22°)
OKLaboklab(49.66% 0.1531 -0.1036)
OKLCHoklch(49.66% 0.185 325.9)
XYZxyz(18.9391, 10.5510, 31.1698)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E99 #33992E
analogous
#5F2E99 #942E99 #992E69
triadic
#942E99 #99942E #2E9994
tetradic
#942E99 #995F2E #33992E #2E6999
square
#942E99 #995F2E #33992E #2E6999
split-complementary
#942E99 #69992E #2E995F
monochromatic
#39123B #66206A #942E99 #BF3FC5 #CF6ED3

Accessibility & contrast

On white

6.75
#942E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#942E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942E99
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E99#FFFFFF#000000##FFFFFF
##942E991.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17539C
Deuteranopia (green-blind)
#456096
Tritanopia (blue-blind)
#983F60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #942e99;
/* rgb */ color: rgb(148, 46, 153);
/* oklch */ color: oklch(49.7% 0.185 325.9);
Tailwind
colors: {
  custom: {
    50: '#b770b7',
    500: '#942e99',
    950: '#000000',
  },
}
SCSS
$custom: #942e99;
$custom-light: #b770b7;
$custom-dark: #000000;
JSON
{
  "hex": "#942e99",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 297.196,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49664,
    "c": 0.18487,
    "h": 325.9
  },
  "luminance": 0.1055
}

Semantic roles & 50–950 ramp

primary
#942E99
secondary
#6CBB68
accent
#DD4B51
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #942E99

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

Preview Lab → · Contrast checker → · Palette generator →

#942E99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva