#902FAC#902FAC

#902FAC is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.199 H 317.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#902FAC
RGBrgb(144, 47, 172)
HSLhsl(287, 57%, 43%)
HSVhsv(287, 73%, 67%)
CMYKcmyk(16.3%, 72.7%, 0%, 32.5%)
CIE-LABlab(39.48, 58.07, -47.68)
CIE-LCHlch(39.48, 75.13, 320.61°)
OKLaboklab(50.39% 0.1465 -0.134)
OKLCHoklch(50.39% 0.199 317.5)
XYZxyz(19.9634, 10.9417, 40.0821)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FAC #4BAC2F
analogous
#512FAC #902FAC #AC2F89
triadic
#902FAC #AC902F #2FAC90
tetradic
#902FAC #AC512F #4BAC2F #2F89AC
square
#902FAC #AC512F #4BAC2F #2F89AC
split-complementary
#902FAC #89AC2F #2FAC51
monochromatic
#40154C #68227C #902FAC #B04BCE #C57BDB

Accessibility & contrast

On white

6.59
#902FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#902FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FAC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FAC#FFFFFF#000000##FFFFFF
##902FAC1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#3360A9
Tritanopia (blue-blind)
#8F486B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902fac;
/* rgb */ color: rgb(144, 47, 172);
/* oklch */ color: oklch(50.4% 0.199 317.5);
Tailwind
colors: {
  custom: {
    50: '#b471c5',
    500: '#902fac',
    950: '#000000',
  },
}
SCSS
$custom: #902fac;
$custom-light: #b471c5;
$custom-dark: #000000;
JSON
{
  "hex": "#902fac",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 286.56,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50389,
    "c": 0.1985,
    "h": 317.5
  },
  "luminance": 0.10941
}

Semantic roles & 50–950 ramp

primary
#902FAC
secondary
#85C374
accent
#E0476A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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