#523DB7#523DB7

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

Color values

HEX#523DB7
RGBrgb(82, 61, 183)
HSLhsl(250, 50%, 48%)
HSVhsv(250, 67%, 72%)
CMYKcmyk(55.2%, 66.7%, 0%, 28.2%)
CIE-LABlab(35.10, 41.85, -61.66)
CIE-LCHlch(35.10, 74.52, 304.17°)
OKLaboklab(45.84% 0.0456 -0.1772)
OKLCHoklch(45.84% 0.183 284.4)
XYZxyz(13.6931, 8.5494, 45.7192)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523DB7 #A2B73D
analogous
#3D65B7 #523DB7 #8F3DB7
triadic
#523DB7 #B7523D #3DB752
tetradic
#523DB7 #B73D65 #A2B73D #3DB78F
square
#523DB7 #B73D65 #A2B73D #3DB78F
split-complementary
#523DB7 #B78F3D #65B73D
monochromatic
#291E5B #3D2E89 #523DB7 #7765CC #A093DB

Accessibility & contrast

On white

7.75
#523DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523DB7
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523DB7#FFFFFF#000000##FFFFFF
##523DB71.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#245C75
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #523db7;
/* rgb */ color: rgb(82, 61, 183);
/* oklch */ color: oklch(45.8% 0.183 284.4);
Tailwind
colors: {
  custom: {
    50: '#8c74ce',
    500: '#523db7',
    950: '#000000',
  },
}
SCSS
$custom: #523db7;
$custom-light: #8c74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#523db7",
  "rgb": {
    "r": 82,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 250.328,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45843,
    "c": 0.18298,
    "h": 284.4
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #523DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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