#523ABB#523ABB

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

Color values

HEX#523ABB
RGBrgb(82, 58, 187)
HSLhsl(251, 53%, 48%)
HSVhsv(251, 69%, 73%)
CMYKcmyk(56.1%, 69%, 0%, 26.7%)
CIE-LABlab(34.82, 44.77, -64.49)
CIE-LCHlch(34.82, 78.50, 304.77°)
OKLaboklab(45.74% 0.0477 -0.1855)
OKLCHoklch(45.74% 0.192 284.4)
XYZxyz(13.9596, 8.4070, 47.8912)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523ABB #A3BB3A
analogous
#3A62BB #523ABB #923ABB
triadic
#523ABB #BB523A #3ABB52
tetradic
#523ABB #BB3A62 #A3BB3A #3ABB92
square
#523ABB #BB3A62 #A3BB3A #3ABB92
split-complementary
#523ABB #BB923A #62BB3A
monochromatic
#291D5E #3E2C8C #523ABB #7763CF #A092DD

Accessibility & contrast

On white

7.83
#523ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#523ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523ABB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523ABB#FFFFFF#000000##FFFFFF
##523ABB1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #523abb;
/* rgb */ color: rgb(82, 58, 187);
/* oklch */ color: oklch(45.7% 0.192 284.4);
Tailwind
colors: {
  custom: {
    50: '#8d72d0',
    500: '#523abb',
    950: '#000000',
  },
}
SCSS
$custom: #523abb;
$custom-light: #8d72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#523abb",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 251.163,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45742,
    "c": 0.19152,
    "h": 284.4
  },
  "luminance": 0.08408
}

Semantic roles & 50–950 ramp

primary
#523ABB
secondary
#BCC888
accent
#DC4CC1
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #523ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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