#902F8D#902F8D

#902F8D is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.171 H 329.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#902F8D
RGBrgb(144, 47, 141)
HSLhsl(302, 51%, 37%)
HSVhsv(302, 67%, 56%)
CMYKcmyk(0%, 67.4%, 2.1%, 43.5%)
CIE-LABlab(37.64, 52.30, -31.90)
CIE-LCHlch(37.64, 61.26, 328.62°)
OKLaboklab(48.47% 0.1471 -0.088)
OKLCHoklch(48.47% 0.171 329.1)
XYZxyz(17.3257, 9.8866, 26.1899)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902F8D #2F9032
analogous
#632F90 #902F8D #902F5C
triadic
#902F8D #8D902F #2F8D90
tetradic
#902F8D #90632F #2F9032 #2F5C90
square
#902F8D #90632F #2F9032 #2F5C90
split-complementary
#902F8D #5C902F #2F9063
monochromatic
#341133 #622060 #902F8D #BE3EBA #CF6BCC

Accessibility & contrast

On white

7.05
#902F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#902F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902F8D
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902F8D#FFFFFF#000000##FFFFFF
##902F8D1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#495D8A
Tritanopia (blue-blind)
#953B5A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #902f8d;
/* rgb */ color: rgb(144, 47, 141);
/* oklch */ color: oklch(48.5% 0.171 329.1);
Tailwind
colors: {
  custom: {
    50: '#b470af',
    500: '#902f8d',
    950: '#000000',
  },
}
SCSS
$custom: #902f8d;
$custom-light: #b470af;
$custom-dark: #000000;
JSON
{
  "hex": "#902f8d",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 301.856,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48473,
    "c": 0.17141,
    "h": 329.1
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#902F8D
secondary
#65B668
accent
#DA524E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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