#902F8F#902F8F

#902F8F is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.173 H 328.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#902F8F
RGBrgb(144, 47, 143)
HSLhsl(301, 51%, 37%)
HSVhsv(301, 67%, 56%)
CMYKcmyk(0%, 67.4%, 0.7%, 43.5%)
CIE-LABlab(37.75, 52.65, -32.95)
CIE-LCHlch(37.75, 62.11, 327.96°)
OKLaboklab(48.59% 0.1472 -0.0911)
OKLCHoklch(48.59% 0.173 328.3)
XYZxyz(17.4758, 9.9467, 26.9807)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902F8F #2F9030
analogous
#612F90 #902F8F #902F5E
triadic
#902F8F #8F902F #2F8F90
tetradic
#902F8F #90612F #2F9030 #2F5E90
square
#902F8F #90612F #2F9030 #2F5E90
split-complementary
#902F8F #5E902F #2F9061
monochromatic
#341133 #622061 #902F8F #BE3EBD #CF6BCE

Accessibility & contrast

On white

7.03
#902F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#902F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902F8F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902F8F#FFFFFF#000000##FFFFFF
##902F8F1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225192
Deuteranopia (green-blind)
#485D8C
Tritanopia (blue-blind)
#953C5B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #902f8f;
/* rgb */ color: rgb(144, 47, 143);
/* oklch */ color: oklch(48.6% 0.173 328.3);
Tailwind
colors: {
  custom: {
    50: '#b470b0',
    500: '#902f8f',
    950: '#000000',
  },
}
SCSS
$custom: #902f8f;
$custom-light: #b470b0;
$custom-dark: #000000;
JSON
{
  "hex": "#902f8f",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 300.619,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48587,
    "c": 0.17309,
    "h": 328.3
  },
  "luminance": 0.09945
}

Semantic roles & 50–950 ramp

primary
#902F8F
secondary
#65B666
accent
#DA4F4E
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #902F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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