#523ABA#523ABA

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

Color values

HEX#523ABA
RGBrgb(82, 58, 186)
HSLhsl(251, 52%, 48%)
HSVhsv(251, 69%, 73%)
CMYKcmyk(55.9%, 68.8%, 0%, 27.1%)
CIE-LABlab(34.73, 44.47, -64.04)
CIE-LCHlch(34.73, 77.96, 304.78°)
OKLaboklab(45.65% 0.0478 -0.1842)
OKLCHoklch(45.65% 0.19 284.6)
XYZxyz(13.8530, 8.3643, 47.3294)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523ABA #A2BA3A
analogous
#3A62BA #523ABA #923ABA
triadic
#523ABA #BA523A #3ABA52
tetradic
#523ABA #BA3A62 #A2BA3A #3ABA92
square
#523ABA #BA3A62 #A2BA3A #3ABA92
split-complementary
#523ABA #BA923A #62BA3A
monochromatic
#291D5D #3D2B8B #523ABA #7763CE #A092DD

Accessibility & contrast

On white

7.86
#523ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#523ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523ABA
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523ABA#FFFFFF#000000##FFFFFF
##523ABA1.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)
#0055BE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#215B75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #523aba;
/* rgb */ color: rgb(82, 58, 186);
/* oklch */ color: oklch(45.7% 0.190 284.6);
Tailwind
colors: {
  custom: {
    50: '#8d72d0',
    500: '#523aba',
    950: '#000000',
  },
}
SCSS
$custom: #523aba;
$custom-light: #8d72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#523aba",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 251.25,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45654,
    "c": 0.1903,
    "h": 284.6
  },
  "luminance": 0.08365
}

Semantic roles & 50–950 ramp

primary
#523ABA
secondary
#BCC888
accent
#DC4CC1
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #523ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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