#902F8A#902F8A

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

Color values

HEX#902F8A
RGBrgb(144, 47, 138)
HSLhsl(304, 51%, 37%)
HSVhsv(304, 67%, 56%)
CMYKcmyk(0%, 67.4%, 4.2%, 43.5%)
CIE-LABlab(37.48, 51.78, -30.31)
CIE-LCHlch(37.48, 60.00, 329.66°)
OKLaboklab(48.31% 0.1469 -0.0834)
OKLCHoklch(48.31% 0.169 330.4)
XYZxyz(17.1055, 9.7986, 25.0302)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902F8A #2F9035
analogous
#652F90 #902F8A #902F5A
triadic
#902F8A #8A902F #2F8A90
tetradic
#902F8A #90652F #2F9035 #2F5A90
square
#902F8A #90652F #2F9035 #2F5A90
split-complementary
#902F8A #5A902F #2F9065
monochromatic
#341132 #62205E #902F8A #BE3EB6 #CF6BC8

Accessibility & contrast

On white

7.10
#902F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#902F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902F8A
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902F8A#FFFFFF#000000##FFFFFF
##902F8A1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508D
Deuteranopia (green-blind)
#4A5D87
Tritanopia (blue-blind)
#953A58
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #902f8a;
/* rgb */ color: rgb(144, 47, 138);
/* oklch */ color: oklch(48.3% 0.169 330.4);
Tailwind
colors: {
  custom: {
    50: '#b370ac',
    500: '#902f8a',
    950: '#000000',
  },
}
SCSS
$custom: #902f8a;
$custom-light: #b370ac;
$custom-dark: #000000;
JSON
{
  "hex": "#902f8a",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 303.711,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48306,
    "c": 0.16893,
    "h": 330.4
  },
  "luminance": 0.09797
}

Semantic roles & 50–950 ramp

primary
#902F8A
secondary
#65B66A
accent
#DA564E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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