#523CBA#523CBA

#523CBA is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.0% C 0.188 H 284.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#523CBA
RGBrgb(82, 60, 186)
HSLhsl(250, 51%, 48%)
HSVhsv(250, 68%, 73%)
CMYKcmyk(55.9%, 67.7%, 0%, 27.1%)
CIE-LABlab(35.14, 43.34, -63.36)
CIE-LCHlch(35.14, 76.77, 304.37°)
OKLaboklab(45.95% 0.0461 -0.1822)
OKLCHoklch(45.95% 0.188 284.2)
XYZxyz(13.9558, 8.5699, 47.3636)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CBA #A4BA3C
analogous
#3C65BA #523CBA #913CBA
triadic
#523CBA #BA523C #3CBA52
tetradic
#523CBA #BA3C65 #A4BA3C #3CBA91
square
#523CBA #BA3C65 #A4BA3C #3CBA91
split-complementary
#523CBA #BA913C #65BA3C
monochromatic
#291E5D #3E2D8C #523CBA #7866CE #A194DC

Accessibility & contrast

On white

7.74
#523CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523CBA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CBA#FFFFFF#000000##FFFFFF
##523CBA1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#205C76
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #523cba;
/* rgb */ color: rgb(82, 60, 186);
/* oklch */ color: oklch(46.0% 0.188 284.2);
Tailwind
colors: {
  custom: {
    50: '#8d73d0',
    500: '#523cba',
    950: '#000000',
  },
}
SCSS
$custom: #523cba;
$custom-light: #8d73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#523cba",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 250.476,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4595,
    "c": 0.18794,
    "h": 284.2
  },
  "luminance": 0.08571
}

Semantic roles & 50–950 ramp

primary
#523CBA
secondary
#BDC88A
accent
#DB4DC2
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #523CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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