#902797#902797

#902797 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.189 H 325.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#902797
RGBrgb(144, 39, 151)
HSLhsl(296, 59%, 37%)
HSVhsv(296, 74%, 59%)
CMYKcmyk(4.6%, 74.2%, 0%, 40.8%)
CIE-LABlab(37.14, 57.06, -38.79)
CIE-LCHlch(37.14, 69.00, 325.79°)
OKLaboklab(48.3% 0.1557 -0.1079)
OKLCHoklch(48.3% 0.189 325.3)
XYZxyz(17.8126, 9.6159, 30.1900)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902797 #2E9727
analogous
#582797 #902797 #972766
triadic
#902797 #979027 #279790
tetradic
#902797 #975827 #2E9727 #276697
square
#902797 #975827 #2E9727 #276697
split-complementary
#902797 #669727 #279758
monochromatic
#330E36 #621A66 #902797 #BE34C8 #CF62D6

Accessibility & contrast

On white

7.18
#902797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#902797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902797
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902797#FFFFFF#000000##FFFFFF
##9027971.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014F9A
Deuteranopia (green-blind)
#3F5C94
Tritanopia (blue-blind)
#933A5D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902797;
/* rgb */ color: rgb(144, 39, 151);
/* oklch */ color: oklch(48.3% 0.189 325.3);
Tailwind
colors: {
  custom: {
    50: '#b46cb6',
    500: '#902797',
    950: '#000000',
  },
}
SCSS
$custom: #902797;
$custom-light: #b46cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#902797",
  "rgb": {
    "r": 144,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 296.25,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48302,
    "c": 0.18944,
    "h": 325.3
  },
  "luminance": 0.09615
}

Semantic roles & 50–950 ramp

primary
#902797
secondary
#64BC5E
accent
#E2464F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902797

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

Preview Lab → · Contrast checker → · Palette generator →

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