#903EAF#903EAF

#903EAF is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.2% C 0.182 H 315.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#903EAF
RGBrgb(144, 62, 175)
HSLhsl(284, 48%, 46%)
HSVhsv(284, 65%, 69%)
CMYKcmyk(17.7%, 64.6%, 0%, 31.4%)
CIE-LABlab(41.95, 52.28, -45.50)
CIE-LCHlch(41.95, 69.31, 318.97°)
OKLaboklab(52.22% 0.1298 -0.1277)
OKLCHoklch(52.22% 0.182 315.5)
XYZxyz(20.9609, 12.4704, 41.8520)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903EAF #5DAF3E
analogous
#583EAF #903EAF #AF3E96
triadic
#903EAF #AF903E #3EAF90
tetradic
#903EAF #AF583E #5DAF3E #3E96AF
square
#903EAF #AF583E #5DAF3E #3E96AF
split-complementary
#903EAF #96AF3E #3EAF58
monochromatic
#461E55 #6B2E82 #903EAF #AC63C8 #C490D8

Accessibility & contrast

On white

6.01
#903EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#903EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903EAF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903EAF#FFFFFF#000000##FFFFFF
##903EAF1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105EB2
Deuteranopia (green-blind)
#3D65AC
Tritanopia (blue-blind)
#8E5371
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #903eaf;
/* rgb */ color: rgb(144, 62, 175);
/* oklch */ color: oklch(52.2% 0.182 315.5);
Tailwind
colors: {
  custom: {
    50: '#b479c7',
    500: '#903eaf',
    950: '#000000',
  },
}
SCSS
$custom: #903eaf;
$custom-light: #b479c7;
$custom-dark: #000000;
JSON
{
  "hex": "#903eaf",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 283.54,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52222,
    "c": 0.18206,
    "h": 315.5
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#903EAF
secondary
#97C386
accent
#D75175
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #903EAF

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

Preview Lab → · Contrast checker → · Palette generator →

#903EAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva