#902791#902791

#902791 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.185 H 327.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#902791
RGBrgb(144, 39, 145)
HSLhsl(299, 58%, 36%)
HSVhsv(299, 73%, 57%)
CMYKcmyk(0.7%, 73.1%, 0%, 43.1%)
CIE-LABlab(36.79, 56.02, -35.69)
CIE-LCHlch(36.79, 66.42, 327.50°)
OKLaboklab(47.94% 0.1558 -0.0989)
OKLCHoklch(47.94% 0.185 327.6)
XYZxyz(17.3377, 9.4259, 27.6888)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902791 #289127
analogous
#5B2791 #902791 #91275D
triadic
#902791 #919027 #279190
tetradic
#902791 #915B27 #289127 #275D91
square
#902791 #915B27 #289127 #275D91
split-complementary
#902791 #5D9127 #27915B
monochromatic
#300D31 #601A61 #902791 #C034C1 #D35FD4

Accessibility & contrast

On white

7.28
#902791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#902791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902791
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902791#FFFFFF#000000##FFFFFF
##9027911.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114E94
Deuteranopia (green-blind)
#435B8E
Tritanopia (blue-blind)
#94375A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902791;
/* rgb */ color: rgb(144, 39, 145);
/* oklch */ color: oklch(47.9% 0.185 327.6);
Tailwind
colors: {
  custom: {
    50: '#b46cb2',
    500: '#902791',
    950: '#000000',
  },
}
SCSS
$custom: #902791;
$custom-light: #b46cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#902791",
  "rgb": {
    "r": 144,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 299.434,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47937,
    "c": 0.18454,
    "h": 327.6
  },
  "luminance": 0.09425
}

Semantic roles & 50–950 ramp

primary
#902791
secondary
#5CB95B
accent
#E14748
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902791

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

Preview Lab → · Contrast checker → · Palette generator →

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