#523AC1#523AC1

#523AC1 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.3% C 0.199 H 283.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#523AC1
RGBrgb(82, 58, 193)
HSLhsl(251, 54%, 49%)
HSVhsv(251, 70%, 76%)
CMYKcmyk(57.5%, 69.9%, 0%, 24.3%)
CIE-LABlab(35.34, 46.58, -67.15)
CIE-LCHlch(35.34, 81.73, 304.75°)
OKLaboklab(46.28% 0.0466 -0.1933)
OKLCHoklch(46.28% 0.199 283.6)
XYZxyz(14.6154, 8.6693, 51.3449)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523AC1 #A9C13A
analogous
#3A65C1 #523AC1 #963AC1
triadic
#523AC1 #C1523A #3AC152
tetradic
#523AC1 #C13A65 #A9C13A #3AC196
square
#523AC1 #C13A65 #A9C13A #3AC196
split-complementary
#523AC1 #C1963A #65C13A
monochromatic
#2A1E63 #3E2C92 #523AC1 #7A67D1 #A396DF

Accessibility & contrast

On white

7.68
#523AC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#523AC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523AC1
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523AC1#FFFFFF#000000##FFFFFF
##523AC11.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#004FBE
Tritanopia (blue-blind)
#155E79
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #523ac1;
/* rgb */ color: rgb(82, 58, 193);
/* oklch */ color: oklch(46.3% 0.199 283.6);
Tailwind
colors: {
  custom: {
    50: '#8e72d5',
    500: '#523ac1',
    950: '#000000',
  },
}
SCSS
$custom: #523ac1;
$custom-light: #8e72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#523ac1",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 193
  },
  "hsl": {
    "h": 250.667,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46277,
    "c": 0.19887,
    "h": 283.6
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#523AC1
secondary
#C0CB8C
accent
#DD4BC3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #523AC1

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

Preview Lab → · Contrast checker → · Palette generator →

#523AC1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva