#902097#902097

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

Color values

HEX#902097
RGBrgb(144, 32, 151)
HSLhsl(296, 65%, 36%)
HSVhsv(296, 79%, 59%)
CMYKcmyk(4.6%, 78.8%, 0%, 40.8%)
CIE-LABlab(36.36, 59.31, -40.04)
CIE-LCHlch(36.36, 71.56, 325.98°)
OKLaboklab(47.75% 0.1619 -0.1115)
OKLCHoklch(47.75% 0.197 325.4)
XYZxyz(17.6036, 9.1979, 30.1203)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902097 #279720
analogous
#552097 #902097 #972062
triadic
#902097 #979020 #209790
tetradic
#902097 #975520 #279720 #206297
square
#902097 #975520 #279720 #206297
split-complementary
#902097 #629720 #209755
monochromatic
#300B32 #601564 #902097 #C02BC9 #D356DB

Accessibility & contrast

On white

7.40
#902097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#902097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902097
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902097#FFFFFF#000000##FFFFFF
##9020971.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#3B5A94
Tritanopia (blue-blind)
#93365B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902097;
/* rgb */ color: rgb(144, 32, 151);
/* oklch */ color: oklch(47.7% 0.197 325.4);
Tailwind
colors: {
  custom: {
    50: '#b46ab6',
    500: '#902097',
    950: '#000000',
  },
}
SCSS
$custom: #902097;
$custom-light: #b46ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#902097",
  "rgb": {
    "r": 144,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 296.471,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47746,
    "c": 0.1966,
    "h": 325.4
  },
  "luminance": 0.09197
}

Semantic roles & 50–950 ramp

primary
#902097
secondary
#5ABF54
accent
#E8404A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #902097

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

Preview Lab → · Contrast checker → · Palette generator →

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