#902795#902795

#902795 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.188 H 326.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#902795
RGBrgb(144, 39, 149)
HSLhsl(297, 59%, 37%)
HSVhsv(297, 74%, 58%)
CMYKcmyk(3.4%, 73.8%, 0%, 41.6%)
CIE-LABlab(37.02, 56.71, -37.76)
CIE-LCHlch(37.02, 68.13, 326.34°)
OKLaboklab(48.18% 0.1557 -0.1049)
OKLCHoklch(48.18% 0.188 326)
XYZxyz(17.6516, 9.5514, 29.3418)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902795 #2C9527
analogous
#592795 #902795 #952763
triadic
#902795 #959027 #279590
tetradic
#902795 #955927 #2C9527 #276395
square
#902795 #955927 #2C9527 #276395
split-complementary
#902795 #639527 #279559
monochromatic
#320E34 #611A64 #902795 #BF34C6 #D061D6

Accessibility & contrast

On white

7.22
#902795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#902795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902795
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902795#FFFFFF#000000##FFFFFF
##9027951.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074F98
Deuteranopia (green-blind)
#405C92
Tritanopia (blue-blind)
#94395C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902795;
/* rgb */ color: rgb(144, 39, 149);
/* oklch */ color: oklch(48.2% 0.188 326.0);
Tailwind
colors: {
  custom: {
    50: '#b46cb5',
    500: '#902795',
    950: '#000000',
  },
}
SCSS
$custom: #902795;
$custom-light: #b46cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#902795",
  "rgb": {
    "r": 144,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 297.273,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48179,
    "c": 0.1878,
    "h": 326
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#902795
secondary
#61BB5D
accent
#E2464D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902795

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

Preview Lab → · Contrast checker → · Palette generator →

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