#523ABD#523ABD

#523ABD is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.9% C 0.194 H 284.1°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#523ABD
RGBrgb(82, 58, 189)
HSLhsl(251, 53%, 48%)
HSVhsv(251, 69%, 74%)
CMYKcmyk(56.6%, 69.3%, 0%, 25.9%)
CIE-LABlab(34.99, 45.37, -65.38)
CIE-LCHlch(34.99, 79.58, 304.76°)
OKLaboklab(45.92% 0.0473 -0.1881)
OKLCHoklch(45.92% 0.194 284.1)
XYZxyz(14.1752, 8.4932, 49.0267)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523ABD #A5BD3A
analogous
#3A64BD #523ABD #933ABD
triadic
#523ABD #BD523A #3ABD52
tetradic
#523ABD #BD3A64 #A5BD3A #3ABD93
square
#523ABD #BD3A64 #A5BD3A #3ABD93
split-complementary
#523ABD #BD933A #64BD3A
monochromatic
#291D5F #3E2C8E #523ABD #7865D0 #A193DE

Accessibility & contrast

On white

7.78
#523ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#523ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523ABD
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523ABD#FFFFFF#000000##FFFFFF
##523ABD1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#1C5C77
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #523abd;
/* rgb */ color: rgb(82, 58, 189);
/* oklch */ color: oklch(45.9% 0.194 284.1);
Tailwind
colors: {
  custom: {
    50: '#8e72d2',
    500: '#523abd',
    950: '#000000',
  },
}
SCSS
$custom: #523abd;
$custom-light: #8e72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#523abd",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 189
  },
  "hsl": {
    "h": 250.992,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45919,
    "c": 0.19399,
    "h": 284.1
  },
  "luminance": 0.08494
}

Semantic roles & 50–950 ramp

primary
#523ABD
secondary
#BEC98A
accent
#DC4BC2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #523ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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