#942287#942287

#942287 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.184 H 333.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#942287
RGBrgb(148, 34, 135)
HSLhsl(307, 63%, 36%)
HSVhsv(307, 77%, 58%)
CMYKcmyk(0%, 77%, 8.8%, 42%)
CIE-LABlab(36.35, 56.94, -30.20)
CIE-LCHlch(36.35, 64.45, 332.06°)
OKLaboklab(47.57% 0.1646 -0.0829)
OKLCHoklch(47.57% 0.184 333.3)
XYZxyz(17.1581, 9.1907, 23.7873)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942287 #22942F
analogous
#682294 #942287 #94224E
triadic
#942287 #879422 #228794
tetradic
#942287 #946822 #22942F #224E94
square
#942287 #946822 #22942F #224E94
split-complementary
#942287 #4E9422 #229468
monochromatic
#300B2C #62175A #942287 #C62DB4 #D958CA

Accessibility & contrast

On white

7.40
#942287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#942287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942287
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942287#FFFFFF#000000##FFFFFF
##9422871.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B8A
Deuteranopia (green-blind)
#495B84
Tritanopia (blue-blind)
#9B2E53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942287;
/* rgb */ color: rgb(148, 34, 135);
/* oklch */ color: oklch(47.6% 0.184 333.3);
Tailwind
colors: {
  custom: {
    50: '#b76aaa',
    500: '#942287',
    950: '#000000',
  },
}
SCSS
$custom: #942287;
$custom-light: #b76aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#942287",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 306.842,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47572,
    "c": 0.18431,
    "h": 333.3
  },
  "luminance": 0.09189
}

Semantic roles & 50–950 ramp

primary
#942287
secondary
#55BD61
accent
#E65542
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #942287

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

Preview Lab → · Contrast checker → · Palette generator →

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