#90257F#90257F

#90257F is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.7% C 0.173 H 335.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#90257F
RGBrgb(144, 37, 127)
HSLhsl(310, 59%, 35%)
HSVhsv(310, 74%, 56%)
CMYKcmyk(0%, 74.3%, 11.8%, 43.5%)
CIE-LABlab(35.57, 53.76, -26.51)
CIE-LCHlch(35.57, 59.94, 333.75°)
OKLaboklab(46.74% 0.157 -0.0724)
OKLCHoklch(46.74% 0.173 335.2)
XYZxyz(15.9941, 8.7861, 20.9281)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90257F #259036
analogous
#6B2590 #90257F #902549
triadic
#90257F #7F9025 #257F90
tetradic
#90257F #906B25 #259036 #254990
square
#90257F #906B25 #259036 #254990
split-complementary
#90257F #499025 #25906B
monochromatic
#2F0C29 #5F1854 #90257F #C132AA #D55BC1

Accessibility & contrast

On white

7.62
#90257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#90257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90257F
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90257F#FFFFFF#000000##FFFFFF
##90257F1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254981
Deuteranopia (green-blind)
#4B597C
Tritanopia (blue-blind)
#972D4F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #90257f;
/* rgb */ color: rgb(144, 37, 127);
/* oklch */ color: oklch(46.7% 0.173 335.2);
Tailwind
colors: {
  custom: {
    50: '#b46ba4',
    500: '#90257f',
    950: '#000000',
  },
}
SCSS
$custom: #90257f;
$custom-light: #b46ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#90257f",
  "rgb": {
    "r": 144,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 309.533,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46741,
    "c": 0.17288,
    "h": 335.2
  },
  "luminance": 0.08785
}

Semantic roles & 50–950 ramp

primary
#90257F
secondary
#57B967
accent
#E25E45
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #90257F

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

Preview Lab → · Contrast checker → · Palette generator →

#90257F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva