#902894#902894

#902894 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.186 H 326.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#902894
RGBrgb(144, 40, 148)
HSLhsl(298, 57%, 37%)
HSVhsv(298, 73%, 58%)
CMYKcmyk(2.7%, 73%, 0%, 42%)
CIE-LABlab(37.09, 56.19, -37.05)
CIE-LCHlch(37.09, 67.30, 326.60°)
OKLaboklab(48.21% 0.1548 -0.1029)
OKLCHoklch(48.21% 0.186 326.4)
XYZxyz(17.6054, 9.5862, 28.9343)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902894 #2C9428
analogous
#5A2894 #902894 #942862
triadic
#902894 #949028 #289490
tetradic
#902894 #945A28 #2C9428 #286294
square
#902894 #945A28 #2C9428 #286294
split-complementary
#902894 #629428 #28945A
monochromatic
#320E34 #611B64 #902894 #BF35C4 #D062D5

Accessibility & contrast

On white

7.20
#902894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#902894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902894
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902894#FFFFFF#000000##FFFFFF
##9028941.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4F97
Deuteranopia (green-blind)
#415C91
Tritanopia (blue-blind)
#94395C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902894;
/* rgb */ color: rgb(144, 40, 148);
/* oklch */ color: oklch(48.2% 0.186 326.4);
Tailwind
colors: {
  custom: {
    50: '#b46db4',
    500: '#902894',
    950: '#000000',
  },
}
SCSS
$custom: #902894;
$custom-light: #b46db4;
$custom-dark: #000000;
JSON
{
  "hex": "#902894",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 297.778,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48206,
    "c": 0.18584,
    "h": 326.4
  },
  "luminance": 0.09585
}

Semantic roles & 50–950 ramp

primary
#902894
secondary
#61BA5E
accent
#E1474D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902894

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

Preview Lab → · Contrast checker → · Palette generator →

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