#942E89#942E89

#942E89 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.8% C 0.172 H 332.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#942E89
RGBrgb(148, 46, 137)
HSLhsl(306, 53%, 38%)
HSVhsv(306, 69%, 58%)
CMYKcmyk(0%, 68.9%, 7.4%, 42%)
CIE-LABlab(37.95, 53.03, -28.92)
CIE-LCHlch(37.95, 60.41, 331.40°)
OKLaboklab(48.76% 0.1524 -0.0793)
OKLCHoklch(48.76% 0.172 332.5)
XYZxyz(17.7051, 10.0574, 24.6708)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E89 #2E9439
analogous
#6C2E94 #942E89 #942E56
triadic
#942E89 #89942E #2E8994
tetradic
#942E89 #946C2E #2E9439 #2E5694
square
#942E89 #946C2E #2E9439 #2E5694
split-complementary
#942E89 #56942E #2E946C
monochromatic
#371133 #651F5E #942E89 #C33DB4 #D16BC6

Accessibility & contrast

On white

6.97
#942E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#942E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942E89
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E89#FFFFFF#000000##FFFFFF
##942E891.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508C
Deuteranopia (green-blind)
#4E5E86
Tritanopia (blue-blind)
#9A3857
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #942e89;
/* rgb */ color: rgb(148, 46, 137);
/* oklch */ color: oklch(48.8% 0.172 332.5);
Tailwind
colors: {
  custom: {
    50: '#b770ac',
    500: '#942e89',
    950: '#000000',
  },
}
SCSS
$custom: #942e89;
$custom-light: #b770ac;
$custom-dark: #000000;
JSON
{
  "hex": "#942e89",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 306.471,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48756,
    "c": 0.17181,
    "h": 332.5
  },
  "luminance": 0.10056
}

Semantic roles & 50–950 ramp

primary
#942E89
secondary
#66B86F
accent
#DC5B4C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #942E89

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

Preview Lab → · Contrast checker → · Palette generator →

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