#523AC8#523AC8

#523AC8 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 46.9% C 0.207 H 282.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#523AC8
RGBrgb(82, 58, 200)
HSLhsl(250, 56%, 51%)
HSVhsv(250, 71%, 78%)
CMYKcmyk(59%, 71%, 0%, 21.6%)
CIE-LABlab(35.96, 48.69, -70.22)
CIE-LCHlch(35.96, 85.45, 304.74°)
OKLaboklab(46.91% 0.0453 -0.2023)
OKLCHoklch(46.91% 0.207 282.6)
XYZxyz(15.4148, 8.9891, 55.5552)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523AC8 #B0C83A
analogous
#3A69C8 #523AC8 #993AC8
triadic
#523AC8 #C8523A #3AC852
tetradic
#523AC8 #C83A69 #B0C83A #3AC899
square
#523AC8 #C83A69 #B0C83A #3AC899
split-complementary
#523AC8 #C8993A #69C83A
monochromatic
#2B1E6A #3E2B9A #523AC8 #7C6AD5 #A69AE3

Accessibility & contrast

On white

7.51
#523AC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#523AC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523AC8
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523AC8#FFFFFF#000000##FFFFFF
##523AC81.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #523ac8;
/* rgb */ color: rgb(82, 58, 200);
/* oklch */ color: oklch(46.9% 0.207 282.6);
Tailwind
colors: {
  custom: {
    50: '#8f73da',
    500: '#523ac8',
    950: '#000000',
  },
}
SCSS
$custom: #523ac8;
$custom-light: #8f73da;
$custom-dark: #000000;
JSON
{
  "hex": "#523ac8",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 250.141,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46913,
    "c": 0.20733,
    "h": 282.6
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#523AC8
secondary
#C4CE8F
accent
#E048C6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #523AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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