#942889#942889

#942889 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.179 H 332.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#942889
RGBrgb(148, 40, 137)
HSLhsl(306, 57%, 37%)
HSVhsv(306, 73%, 58%)
CMYKcmyk(0%, 73%, 7.4%, 42%)
CIE-LABlab(37.15, 55.27, -30.16)
CIE-LCHlch(37.15, 62.96, 331.37°)
OKLaboklab(48.19% 0.1589 -0.0828)
OKLCHoklch(48.19% 0.179 332.5)
XYZxyz(17.4869, 9.6211, 24.5981)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942889 #289433
analogous
#692894 #942889 #942853
triadic
#942889 #899428 #288994
tetradic
#942889 #946928 #289433 #285394
square
#942889 #946928 #289433 #285394
split-complementary
#942889 #539428 #289469
monochromatic
#340E30 #641B5C #942889 #C435B6 #D562C9

Accessibility & contrast

On white

7.18
#942889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#942889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942889
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942889#FFFFFF#000000##FFFFFF
##9428891.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8C
Deuteranopia (green-blind)
#4B5D86
Tritanopia (blue-blind)
#9B3356
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #942889;
/* rgb */ color: rgb(148, 40, 137);
/* oklch */ color: oklch(48.2% 0.179 332.5);
Tailwind
colors: {
  custom: {
    50: '#b76dac',
    500: '#942889',
    950: '#000000',
  },
}
SCSS
$custom: #942889;
$custom-light: #b76dac;
$custom-dark: #000000;
JSON
{
  "hex": "#942889",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 306.111,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48185,
    "c": 0.17921,
    "h": 332.5
  },
  "luminance": 0.0962
}

Semantic roles & 50–950 ramp

primary
#942889
secondary
#5EBA67
accent
#E15747
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #942889

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

Preview Lab → · Contrast checker → · Palette generator →

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