#523CB9#523CB9

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

Color values

HEX#523CB9
RGBrgb(82, 60, 185)
HSLhsl(251, 51%, 48%)
HSVhsv(251, 68%, 73%)
CMYKcmyk(55.7%, 67.6%, 0%, 27.5%)
CIE-LABlab(35.06, 43.03, -62.91)
CIE-LCHlch(35.06, 76.22, 304.37°)
OKLaboklab(45.86% 0.0462 -0.1809)
OKLCHoklch(45.86% 0.187 284.3)
XYZxyz(13.8498, 8.5275, 46.8057)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CB9 #A3B93C
analogous
#3C64B9 #523CB9 #903CB9
triadic
#523CB9 #B9523C #3CB952
tetradic
#523CB9 #B93C64 #A3B93C #3CB990
square
#523CB9 #B93C64 #A3B93C #3CB990
split-complementary
#523CB9 #B9903C #64B93C
monochromatic
#291E5D #3E2D8B #523CB9 #7765CD #A093DC

Accessibility & contrast

On white

7.76
#523CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#523CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CB9
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CB9#FFFFFF#000000##FFFFFF
##523CB91.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#225C75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #523cb9;
/* rgb */ color: rgb(82, 60, 185);
/* oklch */ color: oklch(45.9% 0.187 284.3);
Tailwind
colors: {
  custom: {
    50: '#8d73cf',
    500: '#523cb9',
    950: '#000000',
  },
}
SCSS
$custom: #523cb9;
$custom-light: #8d73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#523cb9",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 250.56,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45863,
    "c": 0.1867,
    "h": 284.3
  },
  "luminance": 0.08528
}

Semantic roles & 50–950 ramp

primary
#523CB9
secondary
#BCC789
accent
#DA4DC2
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #523CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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