#942285#942285

#942285 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.183 H 334.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#942285
RGBrgb(148, 34, 133)
HSLhsl(308, 63%, 36%)
HSVhsv(308, 77%, 58%)
CMYKcmyk(0%, 77%, 10.1%, 42%)
CIE-LABlab(36.24, 56.63, -29.13)
CIE-LCHlch(36.24, 63.68, 332.78°)
OKLaboklab(47.46% 0.1645 -0.0798)
OKLCHoklch(47.46% 0.183 334.1)
XYZxyz(17.0186, 9.1349, 23.0527)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942285 #229431
analogous
#6A2294 #942285 #94224C
triadic
#942285 #859422 #228594
tetradic
#942285 #946A22 #229431 #224C94
square
#942285 #946A22 #229431 #224C94
split-complementary
#942285 #4C9422 #22946A
monochromatic
#300B2C #621758 #942285 #C62DB2 #D958C8

Accessibility & contrast

On white

7.43
#942285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942285
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942285#FFFFFF#000000##FFFFFF
##9422851.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B88
Deuteranopia (green-blind)
#4A5B82
Tritanopia (blue-blind)
#9B2D52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942285;
/* rgb */ color: rgb(148, 34, 133);
/* oklch */ color: oklch(47.5% 0.183 334.1);
Tailwind
colors: {
  custom: {
    50: '#b76aa9',
    500: '#942285',
    950: '#000000',
  },
}
SCSS
$custom: #942285;
$custom-light: #b76aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#942285",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 307.895,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47461,
    "c": 0.18285,
    "h": 334.1
  },
  "luminance": 0.09133
}

Semantic roles & 50–950 ramp

primary
#942285
secondary
#55BD63
accent
#E65842
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #942285

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

Preview Lab → · Contrast checker → · Palette generator →

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