#902388#902388

#902388 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.182 H 331.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#902388
RGBrgb(144, 35, 136)
HSLhsl(304, 61%, 35%)
HSVhsv(304, 76%, 56%)
CMYKcmyk(0%, 75.7%, 5.6%, 43.5%)
CIE-LABlab(35.81, 55.86, -31.71)
CIE-LCHlch(35.81, 64.24, 330.42°)
OKLaboklab(47.07% 0.1595 -0.0874)
OKLCHoklch(47.07% 0.182 331.3)
XYZxyz(16.5466, 8.9103, 24.1362)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902388 #23902B
analogous
#622390 #902388 #902351
triadic
#902388 #889023 #238890
tetradic
#902388 #906223 #23902B #235190
square
#902388 #906223 #23902B #235190
split-complementary
#902388 #519023 #239062
monochromatic
#2E0B2B #5F175A #902388 #C12FB6 #D657CD

Accessibility & contrast

On white

7.55
#902388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#902388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902388
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902388#FFFFFF#000000##FFFFFF
##9023881.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194B8B
Deuteranopia (green-blind)
#465A85
Tritanopia (blue-blind)
#963054
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #902388;
/* rgb */ color: rgb(144, 35, 136);
/* oklch */ color: oklch(47.1% 0.182 331.3);
Tailwind
colors: {
  custom: {
    50: '#b46aab',
    500: '#902388',
    950: '#000000',
  },
}
SCSS
$custom: #902388;
$custom-light: #b46aab;
$custom-dark: #000000;
JSON
{
  "hex": "#902388",
  "rgb": {
    "r": 144,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 304.404,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4707,
    "c": 0.18187,
    "h": 331.3
  },
  "luminance": 0.08909
}

Semantic roles & 50–950 ramp

primary
#902388
secondary
#54BA5C
accent
#E45044
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #902388

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

Preview Lab → · Contrast checker → · Palette generator →

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