#902295#902295

#902295 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.193 H 326.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#902295
RGBrgb(144, 34, 149)
HSLhsl(297, 63%, 36%)
HSVhsv(297, 77%, 58%)
CMYKcmyk(3.4%, 77.2%, 0%, 41.6%)
CIE-LABlab(36.45, 58.36, -38.68)
CIE-LCHlch(36.45, 70.01, 326.47°)
OKLaboklab(47.77% 0.1603 -0.1076)
OKLCHoklch(47.77% 0.193 326.1)
XYZxyz(17.4981, 9.2445, 29.2907)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902295 #279522
analogous
#562295 #902295 #952260
triadic
#902295 #959022 #229590
tetradic
#902295 #955622 #279522 #226095
square
#902295 #955622 #279522 #226095
split-complementary
#902295 #609522 #229556
monochromatic
#300B31 #601763 #902295 #C02DC7 #D358D9

Accessibility & contrast

On white

7.37
#902295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#902295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902295
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902295#FFFFFF#000000##FFFFFF
##9022951.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#3E5A92
Tritanopia (blue-blind)
#94365B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902295;
/* rgb */ color: rgb(144, 34, 149);
/* oklch */ color: oklch(47.8% 0.193 326.1);
Tailwind
colors: {
  custom: {
    50: '#b46ab5',
    500: '#902295',
    950: '#000000',
  },
}
SCSS
$custom: #902295;
$custom-light: #b46ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#902295",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 297.391,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47769,
    "c": 0.19307,
    "h": 326.1
  },
  "luminance": 0.09243
}

Semantic roles & 50–950 ramp

primary
#902295
secondary
#5ABD56
accent
#E64249
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #902295

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

Preview Lab → · Contrast checker → · Palette generator →

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