#902F89#902F89

#902F89 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.3% C 0.168 H 330.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#902F89
RGBrgb(144, 47, 137)
HSLhsl(304, 51%, 37%)
HSVhsv(304, 67%, 56%)
CMYKcmyk(0%, 67.4%, 4.9%, 43.5%)
CIE-LABlab(37.43, 51.61, -29.78)
CIE-LCHlch(37.43, 59.59, 330.01°)
OKLaboklab(48.25% 0.1468 -0.0819)
OKLCHoklch(48.25% 0.168 330.9)
XYZxyz(17.0334, 9.7697, 24.6507)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902F89 #2F9036
analogous
#672F90 #902F89 #902F58
triadic
#902F89 #89902F #2F8990
tetradic
#902F89 #90672F #2F9036 #2F5890
square
#902F89 #90672F #2F9036 #2F5890
split-complementary
#902F89 #58902F #2F9067
monochromatic
#341131 #62205D #902F89 #BE3EB5 #CF6BC7

Accessibility & contrast

On white

7.11
#902F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#902F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902F89
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902F89#FFFFFF#000000##FFFFFF
##902F891.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F8C
Deuteranopia (green-blind)
#4B5D86
Tritanopia (blue-blind)
#963958
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #902f89;
/* rgb */ color: rgb(144, 47, 137);
/* oklch */ color: oklch(48.3% 0.168 330.9);
Tailwind
colors: {
  custom: {
    50: '#b370ac',
    500: '#902f89',
    950: '#000000',
  },
}
SCSS
$custom: #902f89;
$custom-light: #b370ac;
$custom-dark: #000000;
JSON
{
  "hex": "#902f89",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 304.33,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48251,
    "c": 0.16811,
    "h": 330.9
  },
  "luminance": 0.09768
}

Semantic roles & 50–950 ramp

primary
#902F89
secondary
#65B66B
accent
#DA584E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902F89

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

Preview Lab → · Contrast checker → · Palette generator →

#902F89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva