#523CB2#523CB2

#523CB2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.3% C 0.178 H 285.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#523CB2
RGBrgb(82, 60, 178)
HSLhsl(251, 50%, 47%)
HSVhsv(251, 66%, 70%)
CMYKcmyk(53.9%, 66.3%, 0%, 30.2%)
CIE-LABlab(34.48, 40.89, -59.72)
CIE-LCHlch(34.48, 72.38, 304.40°)
OKLaboklab(45.26% 0.0472 -0.1715)
OKLCHoklch(45.26% 0.178 285.4)
XYZxyz(13.1290, 8.2392, 43.0094)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CB2 #9CB23C
analogous
#3C61B2 #523CB2 #8D3CB2
triadic
#523CB2 #B2523C #3CB252
tetradic
#523CB2 #B23C61 #9CB23C #3CB28D
square
#523CB2 #B23C61 #9CB23C #3CB28D
split-complementary
#523CB2 #B28D3C #61B23C
monochromatic
#281D56 #3D2D84 #523CB2 #7561CA #9D8FD9

Accessibility & contrast

On white

7.93
#523CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#523CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CB2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CB2#FFFFFF#000000##FFFFFF
##523CB21.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#2A5A72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #523cb2;
/* rgb */ color: rgb(82, 60, 178);
/* oklch */ color: oklch(45.3% 0.178 285.4);
Tailwind
colors: {
  custom: {
    50: '#8c73ca',
    500: '#523cb2',
    950: '#000000',
  },
}
SCSS
$custom: #523cb2;
$custom-light: #8c73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#523cb2",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 251.186,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45263,
    "c": 0.17788,
    "h": 285.4
  },
  "luminance": 0.0824
}

Semantic roles & 50–950 ramp

primary
#523CB2
secondary
#B9C486
accent
#D94FBF
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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