#902FA5#902FA5

#902FA5 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.192 H 319.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#902FA5
RGBrgb(144, 47, 165)
HSLhsl(289, 56%, 42%)
HSVhsv(289, 72%, 65%)
CMYKcmyk(12.7%, 71.5%, 0%, 35.3%)
CIE-LABlab(39.04, 56.70, -44.21)
CIE-LCHlch(39.04, 71.91, 322.06°)
OKLaboklab(49.93% 0.147 -0.1238)
OKLCHoklch(49.93% 0.192 319.9)
XYZxyz(19.3088, 10.6799, 36.6344)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FA5 #44A52F
analogous
#552FA5 #902FA5 #A52F7F
triadic
#902FA5 #A5902F #2FA590
tetradic
#902FA5 #A5552F #44A52F #2F7FA5
square
#902FA5 #A5552F #44A52F #2F7FA5
split-complementary
#902FA5 #7FA52F #2FA555
monochromatic
#3D1446 #662175 #902FA5 #B347CB #C776D8

Accessibility & contrast

On white

6.70
#902FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#902FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FA5
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FA5#FFFFFF#000000##FFFFFF
##902FA51.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#395FA2
Tritanopia (blue-blind)
#904567
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902fa5;
/* rgb */ color: rgb(144, 47, 165);
/* oklch */ color: oklch(49.9% 0.192 319.9);
Tailwind
colors: {
  custom: {
    50: '#b471c0',
    500: '#902fa5',
    950: '#000000',
  },
}
SCSS
$custom: #902fa5;
$custom-light: #b471c0;
$custom-dark: #000000;
JSON
{
  "hex": "#902fa5",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 289.322,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49928,
    "c": 0.19221,
    "h": 319.9
  },
  "luminance": 0.10679
}

Semantic roles & 50–950 ramp

primary
#902FA5
secondary
#7EC070
accent
#DF4964
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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