#902297#902297

#902297 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.195 H 325.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#902297
RGBrgb(144, 34, 151)
HSLhsl(296, 63%, 36%)
HSVhsv(296, 77%, 59%)
CMYKcmyk(4.6%, 77.5%, 0%, 40.8%)
CIE-LABlab(36.57, 58.70, -39.70)
CIE-LCHlch(36.57, 70.87, 325.93°)
OKLaboklab(47.9% 0.1602 -0.1106)
OKLCHoklch(47.9% 0.195 325.4)
XYZxyz(17.6591, 9.3089, 30.1388)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902297 #299722
analogous
#562297 #902297 #972264
triadic
#902297 #979022 #229790
tetradic
#902297 #975622 #299722 #226497
square
#902297 #975622 #299722 #226497
split-complementary
#902297 #649722 #229756
monochromatic
#310C33 #601765 #902297 #C02DC9 #D25ADA

Accessibility & contrast

On white

7.34
#902297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#902297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902297
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902297#FFFFFF#000000##FFFFFF
##9022971.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #902297;
/* rgb */ color: rgb(144, 34, 151);
/* oklch */ color: oklch(47.9% 0.195 325.4);
Tailwind
colors: {
  custom: {
    50: '#b46ab6',
    500: '#902297',
    950: '#000000',
  },
}
SCSS
$custom: #902297;
$custom-light: #b46ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#902297",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 296.41,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47895,
    "c": 0.19466,
    "h": 325.4
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#902297
secondary
#5DBE57
accent
#E6424B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #902297

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

Preview Lab → · Contrast checker → · Palette generator →

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