#902BA4#902BA4

#902BA4 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.196 H 320.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#902BA4
RGBrgb(144, 43, 164)
HSLhsl(290, 58%, 41%)
HSVhsv(290, 74%, 64%)
CMYKcmyk(12.2%, 73.8%, 0%, 35.7%)
CIE-LABlab(38.44, 58.02, -44.56)
CIE-LCHlch(38.44, 73.16, 322.47°)
OKLaboklab(49.49% 0.1511 -0.1248)
OKLCHoklch(49.49% 0.196 320.4)
XYZxyz(19.0655, 10.3384, 36.1060)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BA4 #3FA42B
analogous
#542BA4 #902BA4 #A42B7B
triadic
#902BA4 #A4902B #2BA490
tetradic
#902BA4 #A4542B #3FA42B #2B7BA4
square
#902BA4 #A4542B #3FA42B #2B7BA4
split-complementary
#902BA4 #7BA42B #2BA454
monochromatic
#3B1243 #651E74 #902BA4 #B53FCD #C870D9

Accessibility & contrast

On white

6.85
#902BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#902BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BA4
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BA4#FFFFFF#000000##FFFFFF
##902BA41.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#375EA1
Tritanopia (blue-blind)
#914365
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902ba4;
/* rgb */ color: rgb(144, 43, 164);
/* oklch */ color: oklch(49.5% 0.196 320.4);
Tailwind
colors: {
  custom: {
    50: '#b46fc0',
    500: '#902ba4',
    950: '#000000',
  },
}
SCSS
$custom: #902ba4;
$custom-light: #b46fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#902ba4",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 290.083,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49485,
    "c": 0.19599,
    "h": 320.4
  },
  "luminance": 0.10337
}

Semantic roles & 50–950 ramp

primary
#902BA4
secondary
#78C16A
accent
#E24660
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #902BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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