#523BBE#523BBE

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

Color values

HEX#523BBE
RGBrgb(82, 59, 190)
HSLhsl(251, 53%, 49%)
HSVhsv(251, 69%, 75%)
CMYKcmyk(56.8%, 68.9%, 0%, 25.5%)
CIE-LABlab(35.28, 45.12, -65.49)
CIE-LCHlch(35.28, 79.53, 304.56°)
OKLaboklab(46.15% 0.0463 -0.1885)
OKLCHoklch(46.15% 0.194 283.8)
XYZxyz(14.3351, 8.6386, 49.6173)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523BBE #A7BE3B
analogous
#3B66BE #523BBE #943BBE
triadic
#523BBE #BE523B #3BBE52
tetradic
#523BBE #BE3B66 #A7BE3B #3BBE94
square
#523BBE #BE3B66 #A7BE3B #3BBE94
split-complementary
#523BBE #BE943B #66BE3B
monochromatic
#2A1E61 #3E2C8F #523BBE #7967D0 #A295DE

Accessibility & contrast

On white

7.70
#523BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#523BBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523BBE
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523BBE#FFFFFF#000000##FFFFFF
##523BBE1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #523bbe;
/* rgb */ color: rgb(82, 59, 190);
/* oklch */ color: oklch(46.2% 0.194 283.8);
Tailwind
colors: {
  custom: {
    50: '#8e73d3',
    500: '#523bbe',
    950: '#000000',
  },
}
SCSS
$custom: #523bbe;
$custom-light: #8e73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#523bbe",
  "rgb": {
    "r": 82,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 250.534,
    "s": 52.61,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46153,
    "c": 0.19406,
    "h": 283.8
  },
  "luminance": 0.08639
}

Semantic roles & 50–950 ramp

primary
#523BBE
secondary
#BFCA8B
accent
#DC4CC3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #523BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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