#902F95#902F95

#902F95 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.178 H 325.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#902F95
RGBrgb(144, 47, 149)
HSLhsl(297, 52%, 38%)
HSVhsv(297, 68%, 58%)
CMYKcmyk(3.4%, 68.5%, 0%, 41.6%)
CIE-LABlab(38.08, 53.72, -36.08)
CIE-LCHlch(38.08, 64.71, 326.11°)
OKLaboklab(48.94% 0.1474 -0.1001)
OKLCHoklch(48.94% 0.178 325.8)
XYZxyz(17.9426, 10.1334, 29.4388)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902F95 #34952F
analogous
#5D2F95 #902F95 #952F67
triadic
#902F95 #95902F #2F9590
tetradic
#902F95 #955D2F #34952F #2F6795
square
#902F95 #955D2F #34952F #2F6795
split-complementary
#902F95 #67952F #2F955D
monochromatic
#361238 #632066 #902F95 #BC3FC2 #CC6DD1

Accessibility & contrast

On white

6.94
#902F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#902F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902F95
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902F95#FFFFFF#000000##FFFFFF
##902F951.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5298
Deuteranopia (green-blind)
#445E92
Tritanopia (blue-blind)
#943F5E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902f95;
/* rgb */ color: rgb(144, 47, 149);
/* oklch */ color: oklch(48.9% 0.178 325.8);
Tailwind
colors: {
  custom: {
    50: '#b470b4',
    500: '#902f95',
    950: '#000000',
  },
}
SCSS
$custom: #902f95;
$custom-light: #b470b4;
$custom-dark: #000000;
JSON
{
  "hex": "#902f95",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 297.059,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48936,
    "c": 0.17819,
    "h": 325.8
  },
  "luminance": 0.10132
}

Semantic roles & 50–950 ramp

primary
#902F95
secondary
#6BB867
accent
#DB4C53
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902F95

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

Preview Lab → · Contrast checker → · Palette generator →

#902F95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva