#902ABC#902ABC

#902ABC is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.1% C 0.218 H 313.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#902ABC
RGBrgb(144, 42, 188)
HSLhsl(282, 63%, 45%)
HSVhsv(282, 78%, 74%)
CMYKcmyk(23.4%, 77.7%, 0%, 26.3%)
CIE-LABlab(39.94, 63.07, -56.40)
CIE-LCHlch(39.94, 84.61, 318.20°)
OKLaboklab(51.06% 0.1488 -0.1595)
OKLCHoklch(51.06% 0.218 313)
XYZxyz(21.4050, 11.2167, 48.6047)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902ABC #56BC2A
analogous
#472ABC #902ABC #BC2A9F
triadic
#902ABC #BC902A #2ABC90
tetradic
#902ABC #BC472A #56BC2A #2A9FBC
square
#902ABC #BC472A #56BC2A #2A9FBC
split-complementary
#902ABC #9FBC2A #2ABC47
monochromatic
#431458 #6A1F8A #902ABC #AD4CD7 #C47EE2

Accessibility & contrast

On white

6.48
#902ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#902ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902ABC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902ABC#FFFFFF#000000##FFFFFF
##902ABC1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#1560B9
Tritanopia (blue-blind)
#8B4D73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902abc;
/* rgb */ color: rgb(144, 42, 188);
/* oklch */ color: oklch(51.1% 0.218 313.0);
Tailwind
colors: {
  custom: {
    50: '#b56fd1',
    500: '#902abc',
    950: '#000000',
  },
}
SCSS
$custom: #902abc;
$custom-light: #b56fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#902abc",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 281.918,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51062,
    "c": 0.21813,
    "h": 313
  },
  "luminance": 0.11216
}

Semantic roles & 50–950 ramp

primary
#902ABC
secondary
#90CB77
accent
#E74173
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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