#523CBF#523CBF

#523CBF is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.4% C 0.194 H 283.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#523CBF
RGBrgb(82, 60, 191)
HSLhsl(250, 52%, 49%)
HSVhsv(250, 69%, 75%)
CMYKcmyk(57.1%, 68.6%, 0%, 25.1%)
CIE-LABlab(35.57, 44.86, -65.61)
CIE-LCHlch(35.57, 79.48, 304.37°)
OKLaboklab(46.39% 0.0453 -0.1888)
OKLCHoklch(46.39% 0.194 283.5)
XYZxyz(14.4966, 8.7862, 50.2121)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523CBF #A9BF3C
analogous
#3C68BF #523CBF #943CBF
triadic
#523CBF #BF523C #3CBF52
tetradic
#523CBF #BF3C68 #A9BF3C #3CBF94
square
#523CBF #BF3C68 #A9BF3C #3CBF94
split-complementary
#523CBF #BF943C #68BF3C
monochromatic
#2A1F62 #3E2D90 #523CBF #7A68D0 #A397DE

Accessibility & contrast

On white

7.62
#523CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#523CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523CBF
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523CBF#FFFFFF#000000##FFFFFF
##523CBF1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#185E79
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #523cbf;
/* rgb */ color: rgb(82, 60, 191);
/* oklch */ color: oklch(46.4% 0.194 283.5);
Tailwind
colors: {
  custom: {
    50: '#8e74d3',
    500: '#523cbf',
    950: '#000000',
  },
}
SCSS
$custom: #523cbf;
$custom-light: #8e74d3;
$custom-dark: #000000;
JSON
{
  "hex": "#523cbf",
  "rgb": {
    "r": 82,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 250.076,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46388,
    "c": 0.19415,
    "h": 283.5
  },
  "luminance": 0.08787
}

Semantic roles & 50–950 ramp

primary
#523CBF
secondary
#C0CA8D
accent
#DC4CC4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #523CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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