#523BBD#523BBD

#523BBD is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.1% C 0.193 H 283.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#523BBD
RGBrgb(82, 59, 189)
HSLhsl(251, 52%, 49%)
HSVhsv(251, 69%, 74%)
CMYKcmyk(56.6%, 68.8%, 0%, 25.9%)
CIE-LABlab(35.19, 44.81, -65.05)
CIE-LCHlch(35.19, 78.99, 304.57°)
OKLaboklab(46.07% 0.0465 -0.1871)
OKLCHoklch(46.07% 0.193 283.9)
XYZxyz(14.2261, 8.5950, 49.0436)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BBD #A6BD3B
analogous
#3B65BD #523BBD #933BBD
triadic
#523BBD #BD523B #3BBD52
tetradic
#523BBD #BD3B65 #A6BD3B #3BBD93
square
#523BBD #BD3B65 #A6BD3B #3BBD93
split-complementary
#523BBD #BD933B #65BD3B
monochromatic
#2A1E60 #3E2C8E #523BBD #7966CF #A295DE

Accessibility & contrast

On white

7.72
#523BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#523BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523BBD
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BBD#FFFFFF#000000##FFFFFF
##523BBD1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#1C5D77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #523bbd;
/* rgb */ color: rgb(82, 59, 189);
/* oklch */ color: oklch(46.1% 0.193 283.9);
Tailwind
colors: {
  custom: {
    50: '#8d73d2',
    500: '#523bbd',
    950: '#000000',
  },
}
SCSS
$custom: #523bbd;
$custom-light: #8d73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#523bbd",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 250.615,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46065,
    "c": 0.19283,
    "h": 283.9
  },
  "luminance": 0.08596
}

Semantic roles & 50–950 ramp

primary
#523BBD
secondary
#BEC98B
accent
#DC4CC2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #523BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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