#903FC5#903FC5

#903FC5 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.8% C 0.203 H 308.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#903FC5
RGBrgb(144, 63, 197)
HSLhsl(276, 54%, 51%)
HSVhsv(276, 68%, 77%)
CMYKcmyk(26.9%, 68%, 0%, 22.7%)
CIE-LABlab(43.53, 56.58, -55.86)
CIE-LCHlch(43.53, 79.50, 315.37°)
OKLaboklab(53.81% 0.1272 -0.1581)
OKLCHoklch(53.81% 0.203 308.8)
XYZxyz(23.3551, 13.5159, 54.1910)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903FC5 #74C53F
analogous
#4D3FC5 #903FC5 #C53FB7
triadic
#903FC5 #C5903F #3FC590
tetradic
#903FC5 #C54D3F #74C53F #3FB7C5
square
#903FC5 #C54D3F #74C53F #3FB7C5
split-complementary
#903FC5 #B7C53F #3FC54D
monochromatic
#4D206A #6F2E99 #903FC5 #AB6ED3 #C69DE1

Accessibility & contrast

On white

5.67
#903FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#903FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903FC5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903FC5#FFFFFF#000000##FFFFFF
##903FC51.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#2468C2
Tritanopia (blue-blind)
#885C7D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #903fc5;
/* rgb */ color: rgb(144, 63, 197);
/* oklch */ color: oklch(53.8% 0.203 308.8);
Tailwind
colors: {
  custom: {
    50: '#b57ad7',
    500: '#903fc5',
    950: '#000000',
  },
}
SCSS
$custom: #903fc5;
$custom-light: #b57ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#903fc5",
  "rgb": {
    "r": 144,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 276.269,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53806,
    "c": 0.20289,
    "h": 308.8
  },
  "luminance": 0.13516
}

Semantic roles & 50–950 ramp

primary
#903FC5
secondary
#AACE92
accent
#DD4B85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #903FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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