#902789#902789

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

Color values

HEX#902789
RGBrgb(144, 39, 137)
HSLhsl(304, 57%, 36%)
HSVhsv(304, 73%, 56%)
CMYKcmyk(0%, 72.9%, 4.9%, 43.5%)
CIE-LABlab(36.34, 54.66, -31.49)
CIE-LCHlch(36.34, 63.09, 330.06°)
OKLaboklab(47.47% 0.1556 -0.0867)
OKLCHoklch(47.47% 0.178 330.9)
XYZxyz(16.7424, 9.1878, 24.5537)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902789 #27902E
analogous
#622790 #902789 #902754
triadic
#902789 #899027 #278990
tetradic
#902789 #906227 #27902E #275490
square
#902789 #906227 #27902E #275490
split-complementary
#902789 #549027 #279062
monochromatic
#300D2D #601A5B #902789 #C034B7 #D35ECC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##902789#FFFFFF#000000##FFFFFF
##9027891.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)
#1D4C8C
Deuteranopia (green-blind)
#475B86
Tritanopia (blue-blind)
#963455
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #902789;
/* rgb */ color: rgb(144, 39, 137);
/* oklch */ color: oklch(47.5% 0.178 330.9);
Tailwind
colors: {
  custom: {
    50: '#b46cac',
    500: '#902789',
    950: '#000000',
  },
}
SCSS
$custom: #902789;
$custom-light: #b46cac;
$custom-dark: #000000;
JSON
{
  "hex": "#902789",
  "rgb": {
    "r": 144,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 304,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4747,
    "c": 0.17816,
    "h": 330.9
  },
  "luminance": 0.09186
}

Semantic roles & 50–950 ramp

primary
#902789
secondary
#5AB960
accent
#E15147
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #902789

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

Preview Lab → · Contrast checker → · Palette generator →

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