#523EB6#523EB6

#523EB6 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.9% C 0.180 H 284.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#523EB6
RGBrgb(82, 62, 182)
HSLhsl(250, 49%, 48%)
HSVhsv(250, 66%, 71%)
CMYKcmyk(54.9%, 65.9%, 0%, 28.6%)
CIE-LABlab(35.23, 40.96, -60.85)
CIE-LCHlch(35.23, 73.35, 303.95°)
OKLaboklab(45.91% 0.0448 -0.1748)
OKLCHoklch(45.91% 0.18 284.4)
XYZxyz(13.6432, 8.6157, 45.1910)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523EB6 #A2B63E
analogous
#3E66B6 #523EB6 #8E3EB6
triadic
#523EB6 #B6523E #3EB652
tetradic
#523EB6 #B63E66 #A2B63E #3EB68E
square
#523EB6 #B63E66 #A2B63E #3EB68E
split-complementary
#523EB6 #B68E3E #66B63E
monochromatic
#291F5B #3D2E88 #523EB6 #7766CB #A094DB

Accessibility & contrast

On white

7.71
#523EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#523EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523EB6
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523EB6#FFFFFF#000000##FFFFFF
##523EB61.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#255C74
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #523eb6;
/* rgb */ color: rgb(82, 62, 182);
/* oklch */ color: oklch(45.9% 0.180 284.4);
Tailwind
colors: {
  custom: {
    50: '#8c75cd',
    500: '#523eb6',
    950: '#000000',
  },
}
SCSS
$custom: #523eb6;
$custom-light: #8c75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#523eb6",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 182
  },
  "hsl": {
    "h": 250,
    "s": 49.18,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45912,
    "c": 0.18048,
    "h": 284.4
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#523EB6
secondary
#BCC68A
accent
#D94FC2
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #523EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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