#902098#902098

#902098 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.197 H 325.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#902098
RGBrgb(144, 32, 152)
HSLhsl(296, 65%, 36%)
HSVhsv(296, 79%, 60%)
CMYKcmyk(5.3%, 78.9%, 0%, 40.4%)
CIE-LABlab(36.42, 59.48, -40.55)
CIE-LCHlch(36.42, 71.99, 325.72°)
OKLaboklab(47.81% 0.1618 -0.113)
OKLCHoklch(47.81% 0.197 325.1)
XYZxyz(17.6852, 9.2305, 30.5498)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902098 #289820
analogous
#542098 #902098 #982064
triadic
#902098 #989020 #209890
tetradic
#902098 #985420 #289820 #206498
square
#902098 #985420 #289820 #206498
split-complementary
#902098 #649820 #209854
monochromatic
#300B33 #601565 #902098 #C02BCB #D357DC

Accessibility & contrast

On white

7.38
#902098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#902098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902098
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902098#FFFFFF#000000##FFFFFF
##9020981.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#3B5A95
Tritanopia (blue-blind)
#93375C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902098;
/* rgb */ color: rgb(144, 32, 152);
/* oklch */ color: oklch(47.8% 0.197 325.1);
Tailwind
colors: {
  custom: {
    50: '#b46ab7',
    500: '#902098',
    950: '#000000',
  },
}
SCSS
$custom: #902098;
$custom-light: #b46ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#902098",
  "rgb": {
    "r": 144,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 296,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47809,
    "c": 0.19739,
    "h": 325.1
  },
  "luminance": 0.09229
}

Semantic roles & 50–950 ramp

primary
#902098
secondary
#5CBF54
accent
#E8404B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #902098

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

Preview Lab → · Contrast checker → · Palette generator →

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