#523DB8#523DB8

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

Color values

HEX#523DB8
RGBrgb(82, 61, 184)
HSLhsl(250, 50%, 48%)
HSVhsv(250, 67%, 72%)
CMYKcmyk(55.4%, 66.8%, 0%, 27.8%)
CIE-LABlab(35.19, 42.15, -62.11)
CIE-LCHlch(35.19, 75.07, 304.16°)
OKLaboklab(45.93% 0.0454 -0.1785)
OKLCHoklch(45.93% 0.184 284.3)
XYZxyz(13.7975, 8.5912, 46.2693)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523DB8 #A3B83D
analogous
#3D65B8 #523DB8 #8F3DB8
triadic
#523DB8 #B8523D #3DB852
tetradic
#523DB8 #B83D65 #A3B83D #3DB88F
square
#523DB8 #B83D65 #A3B83D #3DB88F
split-complementary
#523DB8 #B88F3D #65B83D
monochromatic
#291F5C #3E2E8A #523DB8 #7766CC #A094DB

Accessibility & contrast

On white

7.73
#523DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523DB8
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523DB8#FFFFFF#000000##FFFFFF
##523DB81.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#004FB6
Tritanopia (blue-blind)
#235C75
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #523db8;
/* rgb */ color: rgb(82, 61, 184);
/* oklch */ color: oklch(45.9% 0.184 284.3);
Tailwind
colors: {
  custom: {
    50: '#8d74ce',
    500: '#523db8',
    950: '#000000',
  },
}
SCSS
$custom: #523db8;
$custom-light: #8d74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#523db8",
  "rgb": {
    "r": 82,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 250.244,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45928,
    "c": 0.18424,
    "h": 284.3
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#523DB8
secondary
#BCC78A
accent
#DA4EC2
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #523DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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