#503ABC#503ABC

#503ABC is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.7% C 0.193 H 283.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#503ABC
RGBrgb(80, 58, 188)
HSLhsl(250, 53%, 48%)
HSVhsv(250, 69%, 74%)
CMYKcmyk(57.4%, 69.1%, 0%, 26.3%)
CIE-LABlab(34.72, 44.76, -65.23)
CIE-LCHlch(34.72, 79.11, 304.46°)
OKLaboklab(45.66% 0.0447 -0.1877)
OKLCHoklch(45.66% 0.193 283.4)
XYZxyz(13.8956, 8.3616, 48.4489)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503ABC #A6BC3A
analogous
#3A65BC #503ABC #913ABC
triadic
#503ABC #BC503A #3ABC50
tetradic
#503ABC #BC3A65 #A6BC3A #3ABC91
square
#503ABC #BC3A65 #A6BC3A #3ABC91
split-complementary
#503ABC #BC913A #65BC3A
monochromatic
#281D5E #3C2C8D #503ABC #7664CF #9F93DE

Accessibility & contrast

On white

7.86
#503ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#503ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503ABC
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503ABC#FFFFFF#000000##FFFFFF
##503ABC1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#155C76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #503abc;
/* rgb */ color: rgb(80, 58, 188);
/* oklch */ color: oklch(45.7% 0.193 283.4);
Tailwind
colors: {
  custom: {
    50: '#8c72d1',
    500: '#503abc',
    950: '#000000',
  },
}
SCSS
$custom: #503abc;
$custom-light: #8c72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#503abc",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 250.154,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45659,
    "c": 0.193,
    "h": 283.4
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#503ABC
secondary
#BEC989
accent
#DC4CC4
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #503ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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