#902794#902794

#902794 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.187 H 326.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#902794
RGBrgb(144, 39, 148)
HSLhsl(298, 58%, 37%)
HSVhsv(298, 74%, 58%)
CMYKcmyk(2.7%, 73.6%, 0%, 42%)
CIE-LABlab(36.97, 56.54, -37.24)
CIE-LCHlch(36.97, 67.70, 326.62°)
OKLaboklab(48.12% 0.1558 -0.1034)
OKLCHoklch(48.12% 0.187 326.4)
XYZxyz(17.5721, 9.5196, 28.9232)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902794 #2B9427
analogous
#5A2794 #902794 #942762
triadic
#902794 #949027 #279490
tetradic
#902794 #945A27 #2B9427 #276294
square
#902794 #945A27 #2B9427 #276294
split-complementary
#902794 #629427 #27945A
monochromatic
#320D33 #611A64 #902794 #BF34C4 #D160D5

Accessibility & contrast

On white

7.23
#902794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#902794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902794
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902794#FFFFFF#000000##FFFFFF
##9027941.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4F97
Deuteranopia (green-blind)
#415B91
Tritanopia (blue-blind)
#94395B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902794;
/* rgb */ color: rgb(144, 39, 148);
/* oklch */ color: oklch(48.1% 0.187 326.4);
Tailwind
colors: {
  custom: {
    50: '#b46cb4',
    500: '#902794',
    950: '#000000',
  },
}
SCSS
$custom: #902794;
$custom-light: #b46cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#902794",
  "rgb": {
    "r": 144,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 297.798,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48118,
    "c": 0.18698,
    "h": 326.4
  },
  "luminance": 0.09518
}

Semantic roles & 50–950 ramp

primary
#902794
secondary
#60BB5C
accent
#E2464C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902794

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

Preview Lab → · Contrast checker → · Palette generator →

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