#523BC2#523BC2

#523BC2 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.5% C 0.199 H 283.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#523BC2
RGBrgb(82, 59, 194)
HSLhsl(250, 53%, 50%)
HSVhsv(250, 70%, 76%)
CMYKcmyk(57.7%, 69.6%, 0%, 23.9%)
CIE-LABlab(35.63, 46.33, -67.27)
CIE-LCHlch(35.63, 81.68, 304.56°)
OKLaboklab(46.51% 0.0456 -0.1937)
OKLCHoklch(46.51% 0.199 283.3)
XYZxyz(14.7782, 8.8159, 51.9514)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BC2 #ABC23B
analogous
#3B68C2 #523BC2 #963BC2
triadic
#523BC2 #C2523B #3BC252
tetradic
#523BC2 #C23B68 #ABC23B #3BC296
square
#523BC2 #C23B68 #ABC23B #3BC296
split-complementary
#523BC2 #C2963B #68C23B
monochromatic
#2A1E64 #3E2D93 #523BC2 #7B69D1 #A498E0

Accessibility & contrast

On white

7.60
#523BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#523BC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523BC2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BC2#FFFFFF#000000##FFFFFF
##523BC21.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#125F7A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #523bc2;
/* rgb */ color: rgb(82, 59, 194);
/* oklch */ color: oklch(46.5% 0.199 283.3);
Tailwind
colors: {
  custom: {
    50: '#8e73d6',
    500: '#523bc2',
    950: '#000000',
  },
}
SCSS
$custom: #523bc2;
$custom-light: #8e73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#523bc2",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 250.222,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4651,
    "c": 0.19897,
    "h": 283.3
  },
  "luminance": 0.08817
}

Semantic roles & 50–950 ramp

primary
#523BC2
secondary
#C1CB8E
accent
#DD4BC4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #523BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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