#523CBD#523CBD

#523CBD is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.2% C 0.192 H 283.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#523CBD
RGBrgb(82, 60, 189)
HSLhsl(250, 52%, 49%)
HSVhsv(250, 68%, 74%)
CMYKcmyk(56.6%, 68.3%, 0%, 25.9%)
CIE-LABlab(35.40, 44.25, -64.71)
CIE-LCHlch(35.40, 78.40, 304.37°)
OKLaboklab(46.21% 0.0456 -0.1862)
OKLCHoklch(46.21% 0.192 283.8)
XYZxyz(14.2780, 8.6988, 49.0609)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CBD #A7BD3C
analogous
#3C67BD #523CBD #933CBD
triadic
#523CBD #BD523C #3CBD52
tetradic
#523CBD #BD3C67 #A7BD3C #3CBD93
square
#523CBD #BD3C67 #A7BD3C #3CBD93
split-complementary
#523CBD #BD933C #67BD3C
monochromatic
#2A1F60 #3E2D8F #523CBD #7967CF #A296DE

Accessibility & contrast

On white

7.66
#523CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#523CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CBD
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CBD#FFFFFF#000000##FFFFFF
##523CBD1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #523cbd;
/* rgb */ color: rgb(82, 60, 189);
/* oklch */ color: oklch(46.2% 0.192 283.8);
Tailwind
colors: {
  custom: {
    50: '#8d73d2',
    500: '#523cbd',
    950: '#000000',
  },
}
SCSS
$custom: #523cbd;
$custom-light: #8d73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#523cbd",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 250.233,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46212,
    "c": 0.19168,
    "h": 283.8
  },
  "luminance": 0.087
}

Semantic roles & 50–950 ramp

primary
#523CBD
secondary
#BFC98C
accent
#DB4DC3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #523CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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