#523BC5#523BC5

#523BC5 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 46.8% C 0.203 H 282.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#523BC5
RGBrgb(82, 59, 197)
HSLhsl(250, 54%, 50%)
HSVhsv(250, 70%, 77%)
CMYKcmyk(58.4%, 70.1%, 0%, 22.7%)
CIE-LABlab(35.89, 47.24, -68.59)
CIE-LCHlch(35.89, 83.28, 304.56°)
OKLaboklab(46.78% 0.0451 -0.1975)
OKLCHoklch(46.78% 0.203 282.9)
XYZxyz(15.1186, 8.9520, 53.7437)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BC5 #AEC53B
analogous
#3B69C5 #523BC5 #973BC5
triadic
#523BC5 #C5523B #3BC552
tetradic
#523BC5 #C53B69 #AEC53B #3BC597
square
#523BC5 #C53B69 #AEC53B #3BC597
split-complementary
#523BC5 #C5973B #69C53B
monochromatic
#2B1F67 #3E2C96 #523BC5 #7C6AD3 #A599E1

Accessibility & contrast

On white

7.53
#523BC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#523BC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523BC5
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BC5#FFFFFF#000000##FFFFFF
##523BC51.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#0050C2
Tritanopia (blue-blind)
#09607C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #523bc5;
/* rgb */ color: rgb(82, 59, 197);
/* oklch */ color: oklch(46.8% 0.203 282.9);
Tailwind
colors: {
  custom: {
    50: '#8f73d8',
    500: '#523bc5',
    950: '#000000',
  },
}
SCSS
$custom: #523bc5;
$custom-light: #8f73d8;
$custom-dark: #000000;
JSON
{
  "hex": "#523bc5",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 250,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4678,
    "c": 0.20262,
    "h": 282.9
  },
  "luminance": 0.08953
}

Semantic roles & 50–950 ramp

primary
#523BC5
secondary
#C2CD8F
accent
#DE4AC5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #523BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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