#523ABC#523ABC

#523ABC is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.8% C 0.193 H 284.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#523ABC
RGBrgb(82, 58, 188)
HSLhsl(251, 53%, 48%)
HSVhsv(251, 69%, 74%)
CMYKcmyk(56.4%, 69.1%, 0%, 26.3%)
CIE-LABlab(34.90, 45.07, -64.93)
CIE-LCHlch(34.90, 79.04, 304.76°)
OKLaboklab(45.83% 0.0475 -0.1868)
OKLCHoklch(45.83% 0.193 284.3)
XYZxyz(14.0671, 8.4499, 48.4570)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523ABC #A4BC3A
analogous
#3A63BC #523ABC #933ABC
triadic
#523ABC #BC523A #3ABC52
tetradic
#523ABC #BC3A63 #A4BC3A #3ABC93
square
#523ABC #BC3A63 #A4BC3A #3ABC93
split-complementary
#523ABC #BC933A #63BC3A
monochromatic
#291D5E #3E2C8D #523ABC #7864CF #A193DE

Accessibility & contrast

On white

7.81
#523ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#523ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523ABC
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523ABC#FFFFFF#000000##FFFFFF
##523ABC1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#1E5C76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #523abc;
/* rgb */ color: rgb(82, 58, 188);
/* oklch */ color: oklch(45.8% 0.193 284.3);
Tailwind
colors: {
  custom: {
    50: '#8d72d1',
    500: '#523abc',
    950: '#000000',
  },
}
SCSS
$custom: #523abc;
$custom-light: #8d72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#523abc",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 251.077,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45831,
    "c": 0.19276,
    "h": 284.3
  },
  "luminance": 0.08451
}

Semantic roles & 50–950 ramp

primary
#523ABC
secondary
#BDC989
accent
#DC4CC2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #523ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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