#942894#942894

#942894 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.188 H 328.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#942894
RGBrgb(148, 40, 148)
HSLhsl(300, 57%, 37%)
HSVhsv(300, 73%, 58%)
CMYKcmyk(0%, 73%, 0%, 42%)
CIE-LABlab(37.76, 57.09, -35.95)
CIE-LCHlch(37.76, 67.46, 327.80°)
OKLaboklab(48.81% 0.1593 -0.0996)
OKLCHoklch(48.81% 0.188 328)
XYZxyz(18.3166, 9.9529, 28.9676)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942894 #289428
analogous
#5E2894 #942894 #94285E
triadic
#942894 #949428 #289494
tetradic
#942894 #945E28 #289428 #285E94
square
#942894 #945E28 #289428 #285E94
split-complementary
#942894 #5E9428 #28945E
monochromatic
#340E34 #641B64 #942894 #C435C4 #D562D5

Accessibility & contrast

On white

7.02
#942894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#942894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942894
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942894#FFFFFF#000000##FFFFFF
##9428941.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145097
Deuteranopia (green-blind)
#455E91
Tritanopia (blue-blind)
#99395C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #942894;
/* rgb */ color: rgb(148, 40, 148);
/* oklch */ color: oklch(48.8% 0.188 328.0);
Tailwind
colors: {
  custom: {
    50: '#b76db4',
    500: '#942894',
    950: '#000000',
  },
}
SCSS
$custom: #942894;
$custom-light: #b76db4;
$custom-dark: #000000;
JSON
{
  "hex": "#942894",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 300,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48814,
    "c": 0.18783,
    "h": 328
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#942894
secondary
#5EBA5E
accent
#E14747
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #942894

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

Preview Lab → · Contrast checker → · Palette generator →

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