#523CB8#523CB8

#523CB8 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.8% C 0.185 H 284.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#523CB8
RGBrgb(82, 60, 184)
HSLhsl(251, 51%, 48%)
HSVhsv(251, 67%, 72%)
CMYKcmyk(55.4%, 67.4%, 0%, 27.8%)
CIE-LABlab(34.97, 42.73, -62.46)
CIE-LCHlch(34.97, 75.67, 304.38°)
OKLaboklab(45.78% 0.0464 -0.1796)
OKLCHoklch(45.78% 0.185 284.5)
XYZxyz(13.7446, 8.4854, 46.2517)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CB8 #A2B83C
analogous
#3C64B8 #523CB8 #903CB8
triadic
#523CB8 #B8523C #3CB852
tetradic
#523CB8 #B83C64 #A2B83C #3CB890
square
#523CB8 #B83C64 #A2B83C #3CB890
split-complementary
#523CB8 #B8903C #64B83C
monochromatic
#291E5C #3D2D8A #523CB8 #7765CD #A093DC

Accessibility & contrast

On white

7.79
#523CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#523CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CB8
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CB8#FFFFFF#000000##FFFFFF
##523CB81.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#235C75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #523cb8;
/* rgb */ color: rgb(82, 60, 184);
/* oklch */ color: oklch(45.8% 0.185 284.5);
Tailwind
colors: {
  custom: {
    50: '#8d73ce',
    500: '#523cb8',
    950: '#000000',
  },
}
SCSS
$custom: #523cb8;
$custom-light: #8d73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#523cb8",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 250.645,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45776,
    "c": 0.18545,
    "h": 284.5
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#523CB8
secondary
#BCC789
accent
#DA4DC1
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #523CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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