#902997#902997

#902997 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.187 H 325.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#902997
RGBrgb(144, 41, 151)
HSLhsl(296, 57%, 38%)
HSVhsv(296, 73%, 59%)
CMYKcmyk(4.6%, 72.8%, 0%, 40.8%)
CIE-LABlab(37.39, 56.36, -38.39)
CIE-LCHlch(37.39, 68.19, 325.73°)
OKLaboklab(48.48% 0.1537 -0.1068)
OKLCHoklch(48.48% 0.187 325.2)
XYZxyz(17.8800, 9.7507, 30.2125)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902997 #309729
analogous
#592997 #902997 #972967
triadic
#902997 #979029 #299790
tetradic
#902997 #975929 #309729 #296797
square
#902997 #975929 #309729 #296797
split-complementary
#902997 #679729 #299759
monochromatic
#340F37 #621C67 #902997 #BE36C7 #CE65D5

Accessibility & contrast

On white

7.12
#902997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#902997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902997
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902997#FFFFFF#000000##FFFFFF
##9029971.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08509A
Deuteranopia (green-blind)
#405C94
Tritanopia (blue-blind)
#933B5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #902997;
/* rgb */ color: rgb(144, 41, 151);
/* oklch */ color: oklch(48.5% 0.187 325.2);
Tailwind
colors: {
  custom: {
    50: '#b46db6',
    500: '#902997',
    950: '#000000',
  },
}
SCSS
$custom: #902997;
$custom-light: #b46db6;
$custom-dark: #000000;
JSON
{
  "hex": "#902997",
  "rgb": {
    "r": 144,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 296.182,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48479,
    "c": 0.18718,
    "h": 325.2
  },
  "luminance": 0.0975
}

Semantic roles & 50–950 ramp

primary
#902997
secondary
#66BB61
accent
#E14751
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902997

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

Preview Lab → · Contrast checker → · Palette generator →

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