#902785#902785

#902785 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.175 H 332.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#902785
RGBrgb(144, 39, 133)
HSLhsl(306, 57%, 36%)
HSVhsv(306, 73%, 56%)
CMYKcmyk(0%, 72.9%, 7.6%, 43.5%)
CIE-LABlab(36.13, 54.01, -29.36)
CIE-LCHlch(36.13, 61.47, 331.47°)
OKLaboklab(47.25% 0.1554 -0.0806)
OKLCHoklch(47.25% 0.175 332.6)
XYZxyz(16.4608, 9.0751, 23.0705)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902785 #279032
analogous
#662790 #902785 #902750
triadic
#902785 #859027 #278590
tetradic
#902785 #906627 #279032 #275090
square
#902785 #906627 #279032 #275090
split-complementary
#902785 #509027 #279066
monochromatic
#300D2C #601A59 #902785 #C034B1 #D35EC7

Accessibility & contrast

On white

7.46
#902785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#902785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902785
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902785#FFFFFF#000000##FFFFFF
##9027851.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B88
Deuteranopia (green-blind)
#495A82
Tritanopia (blue-blind)
#963253
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #902785;
/* rgb */ color: rgb(144, 39, 133);
/* oklch */ color: oklch(47.2% 0.175 332.6);
Tailwind
colors: {
  custom: {
    50: '#b46ca9',
    500: '#902785',
    950: '#000000',
  },
}
SCSS
$custom: #902785;
$custom-light: #b46ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#902785",
  "rgb": {
    "r": 144,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 306.286,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47246,
    "c": 0.17505,
    "h": 332.6
  },
  "luminance": 0.09074
}

Semantic roles & 50–950 ramp

primary
#902785
secondary
#5AB964
accent
#E15747
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #902785

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

Preview Lab → · Contrast checker → · Palette generator →

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