#903EC0#903EC0

#903EC0 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.3% C 0.199 H 310.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#903EC0
RGBrgb(144, 62, 192)
HSLhsl(278, 51%, 50%)
HSVhsv(278, 68%, 75%)
CMYKcmyk(25%, 67.7%, 0%, 24.7%)
CIE-LABlab(43.03, 55.93, -53.75)
CIE-LCHlch(43.03, 77.57, 316.14°)
OKLaboklab(53.34% 0.1288 -0.1519)
OKLCHoklch(53.34% 0.199 310.3)
XYZxyz(22.7368, 13.1808, 51.2053)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903EC0 #6EC03E
analogous
#4F3EC0 #903EC0 #C03EAF
triadic
#903EC0 #C0903E #3EC090
tetradic
#903EC0 #C04F3E #6EC03E #3EAFC0
square
#903EC0 #C04F3E #6EC03E #3EAFC0
split-complementary
#903EC0 #AFC03E #3EC04F
monochromatic
#4B2063 #6D2F92 #903EC0 #AB6CCF #C59ADE

Accessibility & contrast

On white

5.78
#903EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#903EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903EC0
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903EC0#FFFFFF#000000##FFFFFF
##903EC01.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#2B67BD
Tritanopia (blue-blind)
#8A597A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #903ec0;
/* rgb */ color: rgb(144, 62, 192);
/* oklch */ color: oklch(53.3% 0.199 310.3);
Tailwind
colors: {
  custom: {
    50: '#b579d4',
    500: '#903ec0',
    950: '#000000',
  },
}
SCSS
$custom: #903ec0;
$custom-light: #b579d4;
$custom-dark: #000000;
JSON
{
  "hex": "#903ec0",
  "rgb": {
    "r": 144,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 277.846,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53344,
    "c": 0.19911,
    "h": 310.3
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#903EC0
secondary
#A5CA8F
accent
#DB4D81
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #903EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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