#523AC0#523AC0

#523AC0 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.198 H 283.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#523AC0
RGBrgb(82, 58, 192)
HSLhsl(251, 54%, 49%)
HSVhsv(251, 70%, 75%)
CMYKcmyk(57.3%, 69.8%, 0%, 24.7%)
CIE-LABlab(35.25, 46.28, -66.71)
CIE-LCHlch(35.25, 81.19, 304.75°)
OKLaboklab(46.19% 0.0468 -0.192)
OKLCHoklch(46.19% 0.198 283.7)
XYZxyz(14.5042, 8.6248, 50.7594)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523AC0 #A8C03A
analogous
#3A65C0 #523AC0 #953AC0
triadic
#523AC0 #C0523A #3AC052
tetradic
#523AC0 #C03A65 #A8C03A #3AC095
square
#523AC0 #C03A65 #A8C03A #3AC095
split-complementary
#523AC0 #C0953A #65C03A
monochromatic
#2A1E62 #3E2C91 #523AC0 #7966D1 #A395DF

Accessibility & contrast

On white

7.71
#523AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523AC0
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523AC0#FFFFFF#000000##FFFFFF
##523AC01.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#004EBD
Tritanopia (blue-blind)
#175D79
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #523ac0;
/* rgb */ color: rgb(82, 58, 192);
/* oklch */ color: oklch(46.2% 0.198 283.7);
Tailwind
colors: {
  custom: {
    50: '#8e72d4',
    500: '#523ac0',
    950: '#000000',
  },
}
SCSS
$custom: #523ac0;
$custom-light: #8e72d4;
$custom-dark: #000000;
JSON
{
  "hex": "#523ac0",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 250.746,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46187,
    "c": 0.19765,
    "h": 283.7
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#523AC0
secondary
#BFCA8B
accent
#DD4BC3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #523AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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