#942489#942489

#942489 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.184 H 332.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#942489
RGBrgb(148, 36, 137)
HSLhsl(306, 61%, 36%)
HSVhsv(306, 76%, 58%)
CMYKcmyk(0%, 75.7%, 7.4%, 42%)
CIE-LABlab(36.68, 56.62, -30.91)
CIE-LCHlch(36.68, 64.51, 331.37°)
OKLaboklab(47.84% 0.1629 -0.085)
OKLCHoklch(47.84% 0.184 332.4)
XYZxyz(17.3590, 9.3652, 24.5555)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942489 #24942F
analogous
#672494 #942489 #942451
triadic
#942489 #899424 #248994
tetradic
#942489 #946724 #24942F #245194
square
#942489 #946724 #24942F #245194
split-complementary
#942489 #519424 #249467
monochromatic
#320C2E #63185B #942489 #C530B7 #D75BCB

Accessibility & contrast

On white

7.31
#942489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#942489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942489
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942489#FFFFFF#000000##FFFFFF
##9424891.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4C8C
Deuteranopia (green-blind)
#495C86
Tritanopia (blue-blind)
#9B3054
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #942489;
/* rgb */ color: rgb(148, 36, 137);
/* oklch */ color: oklch(47.8% 0.184 332.4);
Tailwind
colors: {
  custom: {
    50: '#b76bac',
    500: '#942489',
    950: '#000000',
  },
}
SCSS
$custom: #942489;
$custom-light: #b76bac;
$custom-dark: #000000;
JSON
{
  "hex": "#942489",
  "rgb": {
    "r": 148,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 305.893,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47843,
    "c": 0.18369,
    "h": 332.4
  },
  "luminance": 0.09364
}

Semantic roles & 50–950 ramp

primary
#942489
secondary
#58BC62
accent
#E45444
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #942489

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

Preview Lab → · Contrast checker → · Palette generator →

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