#523ABE#523ABE

#523ABE is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.195 H 284.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#523ABE
RGBrgb(82, 58, 190)
HSLhsl(251, 53%, 49%)
HSVhsv(251, 69%, 75%)
CMYKcmyk(56.8%, 69.5%, 0%, 25.5%)
CIE-LABlab(35.08, 45.67, -65.82)
CIE-LCHlch(35.08, 80.12, 304.76°)
OKLaboklab(46.01% 0.0472 -0.1894)
OKLCHoklch(46.01% 0.195 284)
XYZxyz(14.2842, 8.5368, 49.6003)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523ABE #A6BE3A
analogous
#3A64BE #523ABE #943ABE
triadic
#523ABE #BE523A #3ABE52
tetradic
#523ABE #BE3A64 #A6BE3A #3ABE94
square
#523ABE #BE3A64 #A6BE3A #3ABE94
split-complementary
#523ABE #BE943A #64BE3A
monochromatic
#2A1D60 #3E2C8F #523ABE #7965D0 #A294DE

Accessibility & contrast

On white

7.76
#523ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523ABE
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523ABE#FFFFFF#000000##FFFFFF
##523ABE1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#1A5D77
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #523abe;
/* rgb */ color: rgb(82, 58, 190);
/* oklch */ color: oklch(46.0% 0.195 284.0);
Tailwind
colors: {
  custom: {
    50: '#8e72d3',
    500: '#523abe',
    950: '#000000',
  },
}
SCSS
$custom: #523abe;
$custom-light: #8e72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#523abe",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 250.909,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46009,
    "c": 0.19521,
    "h": 284
  },
  "luminance": 0.08538
}

Semantic roles & 50–950 ramp

primary
#523ABE
secondary
#BECA8A
accent
#DD4BC2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #523ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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