#942289#942289

#942289 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.186 H 332.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#942289
RGBrgb(148, 34, 137)
HSLhsl(306, 63%, 36%)
HSVhsv(306, 77%, 58%)
CMYKcmyk(0%, 77%, 7.4%, 42%)
CIE-LABlab(36.46, 57.26, -31.26)
CIE-LCHlch(36.46, 65.23, 331.36°)
OKLaboklab(47.68% 0.1647 -0.086)
OKLCHoklch(47.68% 0.186 332.4)
XYZxyz(17.3002, 9.2476, 24.5359)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942289 #22942D
analogous
#662294 #942289 #942250
triadic
#942289 #899422 #228994
tetradic
#942289 #946622 #22942D #225094
square
#942289 #946622 #22942D #225094
split-complementary
#942289 #509422 #229466
monochromatic
#300B2D #62175B #942289 #C62DB7 #D958CC

Accessibility & contrast

On white

7.37
#942289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#942289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942289
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942289#FFFFFF#000000##FFFFFF
##9422891.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4B8C
Deuteranopia (green-blind)
#485B86
Tritanopia (blue-blind)
#9B2F54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #942289;
/* rgb */ color: rgb(148, 34, 137);
/* oklch */ color: oklch(47.7% 0.186 332.4);
Tailwind
colors: {
  custom: {
    50: '#b76aac',
    500: '#942289',
    950: '#000000',
  },
}
SCSS
$custom: #942289;
$custom-light: #b76aac;
$custom-dark: #000000;
JSON
{
  "hex": "#942289",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 305.789,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47684,
    "c": 0.18579,
    "h": 332.4
  },
  "luminance": 0.09246
}

Semantic roles & 50–950 ramp

primary
#942289
secondary
#55BD5F
accent
#E65242
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #942289

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

Preview Lab → · Contrast checker → · Palette generator →

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