#503ABB#503ABB

#503ABB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.6% C 0.192 H 283.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#503ABB
RGBrgb(80, 58, 187)
HSLhsl(250, 53%, 48%)
HSVhsv(250, 69%, 73%)
CMYKcmyk(57.2%, 69%, 0%, 26.7%)
CIE-LABlab(34.64, 44.45, -64.78)
CIE-LCHlch(34.64, 78.57, 304.46°)
OKLaboklab(45.57% 0.0449 -0.1864)
OKLCHoklch(45.57% 0.192 283.5)
XYZxyz(13.7882, 8.3186, 47.8832)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503ABB #A5BB3A
analogous
#3A64BB #503ABB #913ABB
triadic
#503ABB #BB503A #3ABB50
tetradic
#503ABB #BB3A64 #A5BB3A #3ABB91
square
#503ABB #BB3A64 #A5BB3A #3ABB91
split-complementary
#503ABB #BB913A #64BB3A
monochromatic
#281D5E #3C2C8C #503ABB #7663CF #9F92DD

Accessibility & contrast

On white

7.88
#503ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#503ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503ABB
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503ABB#FFFFFF#000000##FFFFFF
##503ABB1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#175C76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503abb;
/* rgb */ color: rgb(80, 58, 187);
/* oklch */ color: oklch(45.6% 0.192 283.5);
Tailwind
colors: {
  custom: {
    50: '#8c72d1',
    500: '#503abb',
    950: '#000000',
  },
}
SCSS
$custom: #503abb;
$custom-light: #8c72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#503abb",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 250.233,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4557,
    "c": 0.19178,
    "h": 283.5
  },
  "luminance": 0.08319
}

Semantic roles & 50–950 ramp

primary
#503ABB
secondary
#BDC888
accent
#DC4CC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503ABB

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

Preview Lab → · Contrast checker → · Palette generator →

#503ABB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva