#903FD5#903FD5

#903FD5 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.0% C 0.219 H 304.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#903FD5
RGBrgb(144, 63, 213)
HSLhsl(272, 64%, 54%)
HSVhsv(272, 70%, 84%)
CMYKcmyk(32.4%, 70.4%, 0%, 16.5%)
CIE-LABlab(44.64, 60.18, -63.29)
CIE-LCHlch(44.64, 87.34, 313.56°)
OKLaboklab(54.95% 0.1251 -0.1799)
OKLCHoklch(54.95% 0.219 304.8)
XYZxyz(25.2866, 14.2885, 64.3637)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FD5 #84D53F
analogous
#453FD5 #903FD5 #D53FCF
triadic
#903FD5 #D5903F #3FD590
tetradic
#903FD5 #D5453F #84D53F #3FCFD5
square
#903FD5 #D5453F #84D53F #3FCFD5
split-complementary
#903FD5 #CFD53F #3FD545
monochromatic
#511C7E #7127B0 #903FD5 #AD71E0 #CAA3EB

Accessibility & contrast

On white

5.44
#903FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#903FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903FD5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903FD5#FFFFFF#000000##FFFFFF
##903FD51.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#836286
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #903fd5;
/* rgb */ color: rgb(144, 63, 213);
/* oklch */ color: oklch(55.0% 0.219 304.8);
Tailwind
colors: {
  custom: {
    50: '#b67be3',
    500: '#903fd5',
    950: '#000000',
  },
}
SCSS
$custom: #903fd5;
$custom-light: #b67be3;
$custom-dark: #000000;
JSON
{
  "hex": "#903fd5",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 272.4,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54952,
    "c": 0.21913,
    "h": 304.8
  },
  "luminance": 0.14288
}

Semantic roles & 50–950 ramp

primary
#903FD5
secondary
#B5D898
accent
#E7418D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #903FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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