#902897#902897

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

Color values

HEX#902897
RGBrgb(144, 40, 151)
HSLhsl(296, 58%, 37%)
HSVhsv(296, 74%, 59%)
CMYKcmyk(4.6%, 73.5%, 0%, 40.8%)
CIE-LABlab(37.27, 56.71, -38.59)
CIE-LCHlch(37.27, 68.60, 325.76°)
OKLaboklab(48.39% 0.1547 -0.1074)
OKLCHoklch(48.39% 0.188 325.2)
XYZxyz(17.8459, 9.6824, 30.2011)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902897 #2F9728
analogous
#582897 #902897 #972867
triadic
#902897 #979028 #289790
tetradic
#902897 #975828 #2F9728 #286797
square
#902897 #975828 #2F9728 #286797
split-complementary
#902897 #679728 #289758
monochromatic
#340E36 #621B67 #902897 #BE35C7 #CF64D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##902897#FFFFFF#000000##FFFFFF
##9028971.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)
#05509A
Deuteranopia (green-blind)
#3F5C94
Tritanopia (blue-blind)
#933B5D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #902897;
/* rgb */ color: rgb(144, 40, 151);
/* oklch */ color: oklch(48.4% 0.188 325.2);
Tailwind
colors: {
  custom: {
    50: '#b46db6',
    500: '#902897',
    950: '#000000',
  },
}
SCSS
$custom: #902897;
$custom-light: #b46db6;
$custom-dark: #000000;
JSON
{
  "hex": "#902897",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 296.216,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48389,
    "c": 0.18832,
    "h": 325.2
  },
  "luminance": 0.09681
}

Semantic roles & 50–950 ramp

primary
#902897
secondary
#65BC5F
accent
#E14650
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902897

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

Preview Lab → · Contrast checker → · Palette generator →

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