#902898#902898

#902898 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.189 H 324.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#902898
RGBrgb(144, 40, 152)
HSLhsl(296, 58%, 38%)
HSVhsv(296, 74%, 60%)
CMYKcmyk(5.3%, 73.7%, 0%, 40.4%)
CIE-LABlab(37.33, 56.89, -39.11)
CIE-LCHlch(37.33, 69.04, 325.50°)
OKLaboklab(48.45% 0.1547 -0.1089)
OKLCHoklch(48.45% 0.189 324.9)
XYZxyz(17.9274, 9.7150, 30.6306)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902898 #309828
analogous
#582898 #902898 #982868
triadic
#902898 #989028 #289890
tetradic
#902898 #985828 #309828 #286898
square
#902898 #985828 #309828 #286898
split-complementary
#902898 #689828 #289858
monochromatic
#340F37 #621B68 #902898 #BE35C8 #CE64D6

Accessibility & contrast

On white

7.14
#902898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #902898
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902898#FFFFFF#000000##FFFFFF
##9028981.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02509B
Deuteranopia (green-blind)
#3F5C95
Tritanopia (blue-blind)
#933B5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #902898;
/* rgb */ color: rgb(144, 40, 152);
/* oklch */ color: oklch(48.5% 0.189 324.9);
Tailwind
colors: {
  custom: {
    50: '#b46db7',
    500: '#902898',
    950: '#000000',
  },
}
SCSS
$custom: #902898;
$custom-light: #b46db7;
$custom-dark: #000000;
JSON
{
  "hex": "#902898",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 295.714,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48451,
    "c": 0.18915,
    "h": 324.9
  },
  "luminance": 0.09714
}

Semantic roles & 50–950 ramp

primary
#902898
secondary
#66BC60
accent
#E24651
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902898

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

Preview Lab → · Contrast checker → · Palette generator →

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