#902796#902796

#902796 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.189 H 325.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#902796
RGBrgb(144, 39, 150)
HSLhsl(297, 59%, 37%)
HSVhsv(297, 74%, 59%)
CMYKcmyk(4%, 74%, 0%, 41.2%)
CIE-LABlab(37.08, 56.89, -38.28)
CIE-LCHlch(37.08, 68.56, 326.07°)
OKLaboklab(48.24% 0.1557 -0.1064)
OKLCHoklch(48.24% 0.189 325.6)
XYZxyz(17.7318, 9.5835, 29.7641)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902796 #2D9627
analogous
#592796 #902796 #962765
triadic
#902796 #969027 #279690
tetradic
#902796 #965927 #2D9627 #276596
square
#902796 #965927 #2D9627 #276596
split-complementary
#902796 #659627 #279659
monochromatic
#330E35 #611A65 #902796 #BF34C7 #D061D6

Accessibility & contrast

On white

7.20
#902796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#902796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902796
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902796#FFFFFF#000000##FFFFFF
##9027961.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044F99
Deuteranopia (green-blind)
#3F5C93
Tritanopia (blue-blind)
#943A5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902796;
/* rgb */ color: rgb(144, 39, 150);
/* oklch */ color: oklch(48.2% 0.189 325.6);
Tailwind
colors: {
  custom: {
    50: '#b46cb5',
    500: '#902796',
    950: '#000000',
  },
}
SCSS
$custom: #902796;
$custom-light: #b46cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#902796",
  "rgb": {
    "r": 144,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 296.757,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4824,
    "c": 0.18861,
    "h": 325.6
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#902796
secondary
#62BC5D
accent
#E2464E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902796

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

Preview Lab → · Contrast checker → · Palette generator →

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