#523AC2#523AC2

#523AC2 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.4% C 0.200 H 283.4°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#523AC2
RGBrgb(82, 58, 194)
HSLhsl(251, 54%, 49%)
HSVhsv(251, 70%, 76%)
CMYKcmyk(57.7%, 70.1%, 0%, 23.9%)
CIE-LABlab(35.43, 46.88, -67.60)
CIE-LCHlch(35.43, 82.26, 304.74°)
OKLaboklab(46.37% 0.0464 -0.1946)
OKLCHoklch(46.37% 0.2 283.4)
XYZxyz(14.7273, 8.7141, 51.9344)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523AC2 #AAC23A
analogous
#3A66C2 #523AC2 #963AC2
triadic
#523AC2 #C2523A #3AC252
tetradic
#523AC2 #C23A66 #AAC23A #3AC296
square
#523AC2 #C23A66 #AAC23A #3AC296
split-complementary
#523AC2 #C2963A #66C23A
monochromatic
#2A1E64 #3E2C93 #523AC2 #7A67D2 #A497E0

Accessibility & contrast

On white

7.66
#523AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#523AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523AC2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523AC2#FFFFFF#000000##FFFFFF
##523AC21.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#125E7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #523ac2;
/* rgb */ color: rgb(82, 58, 194);
/* oklch */ color: oklch(46.4% 0.200 283.4);
Tailwind
colors: {
  custom: {
    50: '#8e72d6',
    500: '#523ac2',
    950: '#000000',
  },
}
SCSS
$custom: #523ac2;
$custom-light: #8e72d6;
$custom-dark: #000000;
JSON
{
  "hex": "#523ac2",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 250.588,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46367,
    "c": 0.20008,
    "h": 283.4
  },
  "luminance": 0.08715
}

Semantic roles & 50–950 ramp

primary
#523AC2
secondary
#C0CB8D
accent
#DD4AC3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #523AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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