#942989#942989

#942989 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.178 H 332.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#942989
RGBrgb(148, 41, 137)
HSLhsl(306, 57%, 37%)
HSVhsv(306, 72%, 58%)
CMYKcmyk(0%, 72.3%, 7.4%, 42%)
CIE-LABlab(37.28, 54.91, -29.97)
CIE-LCHlch(37.28, 62.56, 331.38°)
OKLaboklab(48.28% 0.1579 -0.0823)
OKLCHoklch(48.28% 0.178 332.5)
XYZxyz(17.5211, 9.6893, 24.6095)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942989 #299434
analogous
#6A2994 #942989 #942954
triadic
#942989 #899429 #298994
tetradic
#942989 #946A29 #299434 #295494
square
#942989 #946A29 #299434 #295494
split-complementary
#942989 #549429 #29946A
monochromatic
#340E30 #641C5D #942989 #C436B5 #D463C8

Accessibility & contrast

On white

7.15
#942989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#942989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942989
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942989#FFFFFF#000000##FFFFFF
##9429891.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234E8C
Deuteranopia (green-blind)
#4B5D86
Tritanopia (blue-blind)
#9A3456
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942989;
/* rgb */ color: rgb(148, 41, 137);
/* oklch */ color: oklch(48.3% 0.178 332.5);
Tailwind
colors: {
  custom: {
    50: '#b76dac',
    500: '#942989',
    950: '#000000',
  },
}
SCSS
$custom: #942989;
$custom-light: #b76dac;
$custom-dark: #000000;
JSON
{
  "hex": "#942989",
  "rgb": {
    "r": 148,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 306.168,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48275,
    "c": 0.17803,
    "h": 332.5
  },
  "luminance": 0.09688
}

Semantic roles & 50–950 ramp

primary
#942989
secondary
#5FBA68
accent
#E05848
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #942989

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

Preview Lab → · Contrast checker → · Palette generator →

#942989 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva