#523BC4#523BC4

#523BC4 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.7% C 0.201 H 283.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#523BC4
RGBrgb(82, 59, 196)
HSLhsl(250, 54%, 50%)
HSVhsv(250, 70%, 77%)
CMYKcmyk(58.2%, 69.9%, 0%, 23.1%)
CIE-LABlab(35.80, 46.94, -68.15)
CIE-LCHlch(35.80, 82.75, 304.56°)
OKLaboklab(46.69% 0.0453 -0.1962)
OKLCHoklch(46.69% 0.201 283)
XYZxyz(15.0044, 8.9063, 53.1423)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BC4 #ADC43B
analogous
#3B69C4 #523BC4 #963BC4
triadic
#523BC4 #C4523B #3BC452
tetradic
#523BC4 #C43B69 #ADC43B #3BC496
square
#523BC4 #C43B69 #ADC43B #3BC496
split-complementary
#523BC4 #C4963B #69C43B
monochromatic
#2B1F66 #3E2D95 #523BC4 #7C6AD2 #A599E0

Accessibility & contrast

On white

7.55
#523BC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#523BC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523BC4
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BC4#FFFFFF#000000##FFFFFF
##523BC41.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C8
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#0D5F7B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #523bc4;
/* rgb */ color: rgb(82, 59, 196);
/* oklch */ color: oklch(46.7% 0.201 283.0);
Tailwind
colors: {
  custom: {
    50: '#8f73d7',
    500: '#523bc4',
    950: '#000000',
  },
}
SCSS
$custom: #523bc4;
$custom-light: #8f73d7;
$custom-dark: #000000;
JSON
{
  "hex": "#523bc4",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 250.073,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.4669,
    "c": 0.2014,
    "h": 283
  },
  "luminance": 0.08907
}

Semantic roles & 50–950 ramp

primary
#523BC4
secondary
#C2CC8F
accent
#DD4BC5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #523BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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