#902895#902895

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

Color values

HEX#902895
RGBrgb(144, 40, 149)
HSLhsl(297, 58%, 37%)
HSVhsv(297, 73%, 58%)
CMYKcmyk(3.4%, 73.2%, 0%, 41.6%)
CIE-LABlab(37.15, 56.36, -37.56)
CIE-LCHlch(37.15, 67.73, 326.32°)
OKLaboklab(48.27% 0.1548 -0.1044)
OKLCHoklch(48.27% 0.187 326)
XYZxyz(17.6849, 9.6180, 29.3529)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902895 #2D9528
analogous
#5A2895 #902895 #952863
triadic
#902895 #959028 #289590
tetradic
#902895 #955A28 #2D9528 #286395
square
#902895 #955A28 #2D9528 #286395
split-complementary
#902895 #639528 #28955A
monochromatic
#330E35 #611B65 #902895 #BF35C5 #D062D5

Accessibility & contrast

On white

7.18
#902895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#902895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902895
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902895#FFFFFF#000000##FFFFFF
##9028951.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4F98
Deuteranopia (green-blind)
#415C92
Tritanopia (blue-blind)
#943A5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902895;
/* rgb */ color: rgb(144, 40, 149);
/* oklch */ color: oklch(48.3% 0.187 326.0);
Tailwind
colors: {
  custom: {
    50: '#b46db4',
    500: '#902895',
    950: '#000000',
  },
}
SCSS
$custom: #902895;
$custom-light: #b46db4;
$custom-dark: #000000;
JSON
{
  "hex": "#902895",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 297.248,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48267,
    "c": 0.18667,
    "h": 326
  },
  "luminance": 0.09617
}

Semantic roles & 50–950 ramp

primary
#902895
secondary
#62BB5E
accent
#E1474E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902895

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

Preview Lab → · Contrast checker → · Palette generator →

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