#523FAC#523FAC

#523FAC is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.2% C 0.166 H 285.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#523FAC
RGBrgb(82, 63, 172)
HSLhsl(250, 46%, 46%)
HSVhsv(250, 63%, 67%)
CMYKcmyk(52.3%, 63.4%, 0%, 32.5%)
CIE-LABlab(34.65, 37.29, -55.86)
CIE-LCHlch(34.65, 67.16, 303.73°)
OKLaboklab(45.24% 0.0448 -0.1602)
OKLCHoklch(45.24% 0.166 285.6)
XYZxyz(12.7014, 8.3268, 39.9597)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523FAC #99AC3F
analogous
#3F62AC #523FAC #883FAC
triadic
#523FAC #AC523F #3FAC52
tetradic
#523FAC #AC3F62 #99AC3F #3FAC88
square
#523FAC #AC3F62 #99AC3F #3FAC88
split-complementary
#523FAC #AC883F #62AC3F
monochromatic
#271E52 #3D2F7F #523FAC #7463C6 #9C8FD6

Accessibility & contrast

On white

7.88
#523FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#523FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523FAC
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523FAC#FFFFFF#000000##FFFFFF
##523FAC1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#2F596F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #523fac;
/* rgb */ color: rgb(82, 63, 172);
/* oklch */ color: oklch(45.2% 0.166 285.6);
Tailwind
colors: {
  custom: {
    50: '#8b75c6',
    500: '#523fac',
    950: '#000000',
  },
}
SCSS
$custom: #523fac;
$custom-light: #8b75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#523fac",
  "rgb": {
    "r": 82,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 250.459,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45242,
    "c": 0.16631,
    "h": 285.6
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#523FAC
secondary
#B7C186
accent
#D652BF
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #523FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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