#902FAA#902FAA

#902FAA is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.197 H 318.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#902FAA
RGBrgb(144, 47, 170)
HSLhsl(287, 57%, 43%)
HSVhsv(287, 72%, 67%)
CMYKcmyk(15.3%, 72.4%, 0%, 33.3%)
CIE-LABlab(39.35, 57.67, -46.69)
CIE-LCHlch(39.35, 74.21, 321.01°)
OKLaboklab(50.26% 0.1466 -0.1311)
OKLCHoklch(50.26% 0.197 318.2)
XYZxyz(19.7728, 10.8655, 39.0781)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FAA #49AA2F
analogous
#522FAA #902FAA #AA2F87
triadic
#902FAA #AA902F #2FAA90
tetradic
#902FAA #AA522F #49AA2F #2F87AA
square
#902FAA #AA522F #49AA2F #2F87AA
split-complementary
#902FAA #87AA2F #2FAA52
monochromatic
#3F144A #67227A #902FAA #B149CD #C679DA

Accessibility & contrast

On white

6.62
#902FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#902FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FAA
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FAA#FFFFFF#000000##FFFFFF
##902FAA1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#3560A7
Tritanopia (blue-blind)
#8F486A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902faa;
/* rgb */ color: rgb(144, 47, 170);
/* oklch */ color: oklch(50.3% 0.197 318.2);
Tailwind
colors: {
  custom: {
    50: '#b471c4',
    500: '#902faa',
    950: '#000000',
  },
}
SCSS
$custom: #902faa;
$custom-light: #b471c4;
$custom-dark: #000000;
JSON
{
  "hex": "#902faa",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 287.317,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50256,
    "c": 0.19669,
    "h": 318.2
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#902FAA
secondary
#83C272
accent
#E04868
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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