#523AC5#523AC5

#523AC5 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.6% C 0.204 H 283.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#523AC5
RGBrgb(82, 58, 197)
HSLhsl(250, 55%, 50%)
HSVhsv(250, 71%, 77%)
CMYKcmyk(58.4%, 70.6%, 0%, 22.7%)
CIE-LABlab(35.69, 47.79, -68.91)
CIE-LCHlch(35.69, 83.86, 304.74°)
OKLaboklab(46.64% 0.0459 -0.1985)
OKLCHoklch(46.64% 0.204 283)
XYZxyz(15.0677, 8.8502, 53.7268)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523AC5 #ADC53A
analogous
#3A67C5 #523AC5 #983AC5
triadic
#523AC5 #C5523A #3AC552
tetradic
#523AC5 #C53A67 #ADC53A #3AC598
square
#523AC5 #C53A67 #ADC53A #3AC598
split-complementary
#523AC5 #C5983A #67C53A
monochromatic
#2B1E66 #3E2C96 #523AC5 #7C69D3 #A599E1

Accessibility & contrast

On white

7.58
#523AC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#523AC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523AC5
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523AC5#FFFFFF#000000##FFFFFF
##523AC51.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#004FC2
Tritanopia (blue-blind)
#095F7B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #523ac5;
/* rgb */ color: rgb(82, 58, 197);
/* oklch */ color: oklch(46.6% 0.204 283.0);
Tailwind
colors: {
  custom: {
    50: '#8f72d8',
    500: '#523ac5',
    950: '#000000',
  },
}
SCSS
$custom: #523ac5;
$custom-light: #8f72d8;
$custom-dark: #000000;
JSON
{
  "hex": "#523ac5",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 250.36,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.46639,
    "c": 0.20372,
    "h": 283
  },
  "luminance": 0.08851
}

Semantic roles & 50–950 ramp

primary
#523AC5
secondary
#C2CD8E
accent
#DE4AC4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #523AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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