#902FA6#902FA6

#902FA6 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.193 H 319.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#902FA6
RGBrgb(144, 47, 166)
HSLhsl(289, 56%, 42%)
HSVhsv(289, 72%, 65%)
CMYKcmyk(13.3%, 71.7%, 0%, 34.9%)
CIE-LABlab(39.10, 56.90, -44.71)
CIE-LCHlch(39.10, 72.36, 321.84°)
OKLaboklab(49.99% 0.1469 -0.1253)
OKLCHoklch(49.99% 0.193 319.5)
XYZxyz(19.4002, 10.7164, 37.1156)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FA6 #45A62F
analogous
#552FA6 #902FA6 #A62F81
triadic
#902FA6 #A6902F #2FA690
tetradic
#902FA6 #A6552F #45A62F #2F81A6
square
#902FA6 #A6552F #45A62F #2F81A6
split-complementary
#902FA6 #81A62F #2FA655
monochromatic
#3D1447 #672176 #902FA6 #B347CB #C677D8

Accessibility & contrast

On white

6.68
#902FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #902FA6
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FA6#FFFFFF#000000##FFFFFF
##902FA61.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#385FA3
Tritanopia (blue-blind)
#904667
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902fa6;
/* rgb */ color: rgb(144, 47, 166);
/* oklch */ color: oklch(50.0% 0.193 319.5);
Tailwind
colors: {
  custom: {
    50: '#b471c1',
    500: '#902fa6',
    950: '#000000',
  },
}
SCSS
$custom: #902fa6;
$custom-light: #b471c1;
$custom-dark: #000000;
JSON
{
  "hex": "#902fa6",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 288.908,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49993,
    "c": 0.19311,
    "h": 319.5
  },
  "luminance": 0.10715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #902FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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