#903EC3#903EC3

#903EC3 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.6% C 0.202 H 309.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#903EC3
RGBrgb(144, 62, 195)
HSLhsl(277, 53%, 50%)
HSVhsv(277, 68%, 76%)
CMYKcmyk(26.2%, 68.2%, 0%, 23.5%)
CIE-LABlab(43.23, 56.59, -55.17)
CIE-LCHlch(43.23, 79.03, 315.72°)
OKLaboklab(53.55% 0.1285 -0.1561)
OKLCHoklch(53.55% 0.202 309.5)
XYZxyz(23.0726, 13.3151, 52.9738)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903EC3 #71C33E
analogous
#4D3EC3 #903EC3 #C33EB4
triadic
#903EC3 #C3903E #3EC390
tetradic
#903EC3 #C34D3E #71C33E #3EB4C3
square
#903EC3 #C34D3E #71C33E #3EB4C3
split-complementary
#903EC3 #B4C33E #3EC34D
monochromatic
#4C2067 #6E2E95 #903EC3 #AB6DD2 #C69BE0

Accessibility & contrast

On white

5.73
#903EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#903EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903EC3
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903EC3#FFFFFF#000000##FFFFFF
##903EC31.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#2667C0
Tritanopia (blue-blind)
#895B7C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #903ec3;
/* rgb */ color: rgb(144, 62, 195);
/* oklch */ color: oklch(53.6% 0.202 309.5);
Tailwind
colors: {
  custom: {
    50: '#b579d6',
    500: '#903ec3',
    950: '#000000',
  },
}
SCSS
$custom: #903ec3;
$custom-light: #b579d6;
$custom-dark: #000000;
JSON
{
  "hex": "#903ec3",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 276.992,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53551,
    "c": 0.20214,
    "h": 309.5
  },
  "luminance": 0.13315
}

Semantic roles & 50–950 ramp

primary
#903EC3
secondary
#A7CC91
accent
#DC4C83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #903EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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