#902799#902799

#902799 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.191 H 324.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#902799
RGBrgb(144, 39, 153)
HSLhsl(295, 59%, 38%)
HSVhsv(295, 75%, 60%)
CMYKcmyk(5.9%, 74.5%, 0%, 40%)
CIE-LABlab(37.26, 57.42, -39.81)
CIE-LCHlch(37.26, 69.87, 325.26°)
OKLaboklab(48.43% 0.1556 -0.1109)
OKLCHoklch(48.43% 0.191 324.5)
XYZxyz(17.9764, 9.6814, 31.0527)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902799 #309927
analogous
#572799 #902799 #992769
triadic
#902799 #999027 #279990
tetradic
#902799 #995727 #309927 #276999
square
#902799 #995727 #309927 #276999
split-complementary
#902799 #699927 #279957
monochromatic
#340E37 #621B68 #902799 #BE33CA #CE63D7

Accessibility & contrast

On white

7.15
#902799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#902799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902799
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902799#FFFFFF#000000##FFFFFF
##9027991.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#3D5C96
Tritanopia (blue-blind)
#933B5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #902799;
/* rgb */ color: rgb(144, 39, 153);
/* oklch */ color: oklch(48.4% 0.191 324.5);
Tailwind
colors: {
  custom: {
    50: '#b46db7',
    500: '#902799',
    950: '#000000',
  },
}
SCSS
$custom: #902799;
$custom-light: #b46db7;
$custom-dark: #000000;
JSON
{
  "hex": "#902799",
  "rgb": {
    "r": 144,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 295.263,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48427,
    "c": 0.19109,
    "h": 324.5
  },
  "luminance": 0.0968
}

Semantic roles & 50–950 ramp

primary
#902799
secondary
#66BD5F
accent
#E34552
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902799

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

Preview Lab → · Contrast checker → · Palette generator →

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