#902FA7#902FA7

#902FA7 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.194 H 319.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#902FA7
RGBrgb(144, 47, 167)
HSLhsl(289, 56%, 42%)
HSVhsv(289, 72%, 65%)
CMYKcmyk(13.8%, 71.9%, 0%, 34.5%)
CIE-LABlab(39.16, 57.09, -45.21)
CIE-LCHlch(39.16, 72.82, 321.62°)
OKLaboklab(50.06% 0.1469 -0.1268)
OKLCHoklch(50.06% 0.194 319.2)
XYZxyz(19.4923, 10.7533, 37.6006)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FA7 #46A72F
analogous
#542FA7 #902FA7 #A72F82
triadic
#902FA7 #A7902F #2FA790
tetradic
#902FA7 #A7542F #46A72F #2F82A7
square
#902FA7 #A7542F #46A72F #2F82A7
split-complementary
#902FA7 #82A72F #2FA754
monochromatic
#3E1447 #672277 #902FA7 #B248CB #C678D9

Accessibility & contrast

On white

6.67
#902FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#902FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FA7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FA7#FFFFFF#000000##FFFFFF
##902FA71.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#375FA4
Tritanopia (blue-blind)
#904668
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902fa7;
/* rgb */ color: rgb(144, 47, 167);
/* oklch */ color: oklch(50.1% 0.194 319.2);
Tailwind
colors: {
  custom: {
    50: '#b471c2',
    500: '#902fa7',
    950: '#000000',
  },
}
SCSS
$custom: #902fa7;
$custom-light: #b471c2;
$custom-dark: #000000;
JSON
{
  "hex": "#902fa7",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 288.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50058,
    "c": 0.19401,
    "h": 319.2
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#902FA7
secondary
#80C171
accent
#DF4865
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #902FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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