#902397#902397

#902397 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.194 H 325.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#902397
RGBrgb(144, 35, 151)
HSLhsl(296, 62%, 36%)
HSVhsv(296, 77%, 59%)
CMYKcmyk(4.6%, 76.8%, 0%, 40.8%)
CIE-LABlab(36.68, 58.39, -39.53)
CIE-LCHlch(36.68, 70.51, 325.90°)
OKLaboklab(47.97% 0.1594 -0.1101)
OKLCHoklch(47.97% 0.194 325.4)
XYZxyz(17.6881, 9.3669, 30.1485)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902397 #2A9723
analogous
#562397 #902397 #972364
triadic
#902397 #979023 #239790
tetradic
#902397 #975623 #2A9723 #236497
square
#902397 #975623 #2A9723 #236497
split-complementary
#902397 #649723 #239756
monochromatic
#310C34 #611765 #902397 #BF2FC9 #D15BD9

Accessibility & contrast

On white

7.31
#902397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#902397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902397
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902397#FFFFFF#000000##FFFFFF
##9023971.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#3D5B94
Tritanopia (blue-blind)
#93385C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902397;
/* rgb */ color: rgb(144, 35, 151);
/* oklch */ color: oklch(48.0% 0.194 325.4);
Tailwind
colors: {
  custom: {
    50: '#b46bb6',
    500: '#902397',
    950: '#000000',
  },
}
SCSS
$custom: #902397;
$custom-light: #b46bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#902397",
  "rgb": {
    "r": 144,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 296.379,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47972,
    "c": 0.19366,
    "h": 325.4
  },
  "luminance": 0.09366
}

Semantic roles & 50–950 ramp

primary
#902397
secondary
#5EBE58
accent
#E5424C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #902397

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

Preview Lab → · Contrast checker → · Palette generator →

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