#523BB7#523BB7

#523BB7 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.5% C 0.185 H 284.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#523BB7
RGBrgb(82, 59, 183)
HSLhsl(251, 51%, 47%)
HSVhsv(251, 68%, 72%)
CMYKcmyk(55.2%, 67.8%, 0%, 28.2%)
CIE-LABlab(34.68, 42.99, -62.35)
CIE-LCHlch(34.68, 75.73, 304.59°)
OKLaboklab(45.54% 0.0474 -0.1792)
OKLCHoklch(45.54% 0.185 284.8)
XYZxyz(13.5883, 8.3399, 45.6843)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BB7 #A0B73B
analogous
#3B62B7 #523BB7 #903BB7
triadic
#523BB7 #B7523B #3BB752
tetradic
#523BB7 #B73B62 #A0B73B #3BB790
square
#523BB7 #B73B62 #A0B73B #3BB790
split-complementary
#523BB7 #B7903B #62B73B
monochromatic
#291D5A #3D2C89 #523BB7 #7663CD #9F91DC

Accessibility & contrast

On white

7.87
#523BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523BB7
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BB7#FFFFFF#000000##FFFFFF
##523BB71.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#245B74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #523bb7;
/* rgb */ color: rgb(82, 59, 183);
/* oklch */ color: oklch(45.5% 0.185 284.8);
Tailwind
colors: {
  custom: {
    50: '#8d73ce',
    500: '#523bb7',
    950: '#000000',
  },
}
SCSS
$custom: #523bb7;
$custom-light: #8d73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#523bb7",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 251.129,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45539,
    "c": 0.18539,
    "h": 284.8
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#523BB7
secondary
#BBC687
accent
#DB4DC0
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #523BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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