#942286#942286

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

Color values

HEX#942286
RGBrgb(148, 34, 134)
HSLhsl(307, 63%, 36%)
HSVhsv(307, 77%, 58%)
CMYKcmyk(0%, 77%, 9.5%, 42%)
CIE-LABlab(36.30, 56.79, -29.66)
CIE-LCHlch(36.30, 64.07, 332.42°)
OKLaboklab(47.52% 0.1646 -0.0813)
OKLCHoklch(47.52% 0.184 333.7)
XYZxyz(17.0880, 9.1627, 23.4182)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942286 #229430
analogous
#692294 #942286 #94224D
triadic
#942286 #869422 #228694
tetradic
#942286 #946922 #229430 #224D94
square
#942286 #946922 #229430 #224D94
split-complementary
#942286 #4D9422 #229469
monochromatic
#300B2C #621759 #942286 #C62DB3 #D958C9

Accessibility & contrast

On white

7.41
#942286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#942286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942286
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942286#FFFFFF#000000##FFFFFF
##9422861.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B89
Deuteranopia (green-blind)
#4A5B83
Tritanopia (blue-blind)
#9B2E52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942286;
/* rgb */ color: rgb(148, 34, 134);
/* oklch */ color: oklch(47.5% 0.184 333.7);
Tailwind
colors: {
  custom: {
    50: '#b76aa9',
    500: '#942286',
    950: '#000000',
  },
}
SCSS
$custom: #942286;
$custom-light: #b76aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#942286",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 307.368,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47516,
    "c": 0.18358,
    "h": 333.7
  },
  "luminance": 0.09161
}

Semantic roles & 50–950 ramp

primary
#942286
secondary
#55BD62
accent
#E65642
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #942286

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

Preview Lab → · Contrast checker → · Palette generator →

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