#902CA8#902CA8

#902CA8 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.198 H 319.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#902CA8
RGBrgb(144, 44, 168)
HSLhsl(288, 58%, 42%)
HSVhsv(288, 74%, 66%)
CMYKcmyk(14.3%, 73.8%, 0%, 34.1%)
CIE-LABlab(38.83, 58.42, -46.34)
CIE-LCHlch(38.83, 74.57, 321.57°)
OKLaboklab(49.84% 0.1498 -0.1301)
OKLCHoklch(49.84% 0.198 319)
XYZxyz(19.4692, 10.5587, 38.0507)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CA8 #44A82C
analogous
#522CA8 #902CA8 #A82C82
triadic
#902CA8 #A8902C #2CA890
tetradic
#902CA8 #A8522C #44A82C #2C82A8
square
#902CA8 #A8522C #44A82C #2C82A8
split-complementary
#902CA8 #82A82C #2CA852
monochromatic
#3D1347 #661F78 #902CA8 #B343CE #C774DB

Accessibility & contrast

On white

6.75
#902CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#902CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CA8
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CA8#FFFFFF#000000##FFFFFF
##902CA81.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#345FA5
Tritanopia (blue-blind)
#904568
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902ca8;
/* rgb */ color: rgb(144, 44, 168);
/* oklch */ color: oklch(49.8% 0.198 319.0);
Tailwind
colors: {
  custom: {
    50: '#b46fc2',
    500: '#902ca8',
    950: '#000000',
  },
}
SCSS
$custom: #902ca8;
$custom-light: #b46fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#902ca8",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 288.387,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4984,
    "c": 0.19836,
    "h": 319
  },
  "luminance": 0.10558
}

Semantic roles & 50–950 ramp

primary
#902CA8
secondary
#7EC26E
accent
#E24664
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #902CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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