#523BB8#523BB8

#523BB8 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.6% C 0.187 H 284.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#523BB8
RGBrgb(82, 59, 184)
HSLhsl(251, 51%, 48%)
HSVhsv(251, 68%, 72%)
CMYKcmyk(55.4%, 67.9%, 0%, 27.8%)
CIE-LABlab(34.77, 43.30, -62.80)
CIE-LCHlch(34.77, 76.28, 304.58°)
OKLaboklab(45.63% 0.0473 -0.1806)
OKLCHoklch(45.63% 0.187 284.7)
XYZxyz(13.6927, 8.3817, 46.2344)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BB8 #A1B83B
analogous
#3B63B8 #523BB8 #903BB8
triadic
#523BB8 #B8523B #3BB852
tetradic
#523BB8 #B83B63 #A1B83B #3BB890
square
#523BB8 #B83B63 #A1B83B #3BB890
split-complementary
#523BB8 #B8903B #63B83B
monochromatic
#291D5B #3D2C8A #523BB8 #7763CD #9F92DC

Accessibility & contrast

On white

7.85
#523BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523BB8
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BB8#FFFFFF#000000##FFFFFF
##523BB81.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#235B75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #523bb8;
/* rgb */ color: rgb(82, 59, 184);
/* oklch */ color: oklch(45.6% 0.187 284.7);
Tailwind
colors: {
  custom: {
    50: '#8d73ce',
    500: '#523bb8',
    950: '#000000',
  },
}
SCSS
$custom: #523bb8;
$custom-light: #8d73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#523bb8",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 251.04,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45626,
    "c": 0.18664,
    "h": 284.7
  },
  "luminance": 0.08382
}

Semantic roles & 50–950 ramp

primary
#523BB8
secondary
#BBC788
accent
#DB4DC1
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #523BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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