#902496#902496

#902496 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.192 H 325.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#902496
RGBrgb(144, 36, 150)
HSLhsl(297, 61%, 36%)
HSVhsv(297, 76%, 59%)
CMYKcmyk(4%, 76%, 0%, 41.2%)
CIE-LABlab(36.73, 57.89, -38.84)
CIE-LCHlch(36.73, 69.71, 326.15°)
OKLaboklab(47.99% 0.1585 -0.1081)
OKLCHoklch(47.99% 0.192 325.7)
XYZxyz(17.6371, 9.3942, 29.7326)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902496 #2A9624
analogous
#572496 #902496 #962463
triadic
#902496 #969024 #249690
tetradic
#902496 #965724 #2A9624 #246396
square
#902496 #965724 #2A9624 #246396
split-complementary
#902496 #639624 #249657
monochromatic
#310C33 #611865 #902496 #BF30C7 #D15CD8

Accessibility & contrast

On white

7.30
#902496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#902496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902496
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902496#FFFFFF#000000##FFFFFF
##9024961.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#3E5B93
Tritanopia (blue-blind)
#94385C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902496;
/* rgb */ color: rgb(144, 36, 150);
/* oklch */ color: oklch(48.0% 0.192 325.7);
Tailwind
colors: {
  custom: {
    50: '#b46bb5',
    500: '#902496',
    950: '#000000',
  },
}
SCSS
$custom: #902496;
$custom-light: #b46bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#902496",
  "rgb": {
    "r": 144,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 296.842,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47989,
    "c": 0.19184,
    "h": 325.7
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#902496
secondary
#5EBD59
accent
#E4434C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #902496

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

Preview Lab → · Contrast checker → · Palette generator →

#902496 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva