#5326E3#5326E3

#5326E3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.4% C 0.255 H 281.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#5326E3
RGBrgb(83, 38, 227)
HSLhsl(254, 77%, 52%)
HSVhsv(254, 83%, 89%)
CMYKcmyk(63.4%, 83.3%, 0%, 11%)
CIE-LABlab(35.54, 65.63, -86.50)
CIE-LCHlch(35.54, 108.58, 307.19°)
OKLaboklab(47.44% 0.0509 -0.2496)
OKLCHoklch(47.44% 0.255 281.5)
XYZxyz(18.1212, 8.7699, 73.3960)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5326E3 #B6E326
analogous
#2657E3 #5326E3 #B226E3
triadic
#5326E3 #E35326 #26E353
tetradic
#5326E3 #E32657 #B6E326 #26E3B2
square
#5326E3 #E32657 #B6E326 #26E3B2
split-complementary
#5326E3 #E3B226 #57E326
monochromatic
#2A107E #3D17B5 #5326E3 #7E5CEA #A992F1

Accessibility & contrast

On white

7.62
#5326E3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5326E3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5326E3
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5326E3#FFFFFF#000000##FFFFFF
##5326E31.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE8
Deuteranopia (green-blind)
#004DE0
Tritanopia (blue-blind)
#006388
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5326e3;
/* rgb */ color: rgb(83, 38, 227);
/* oklch */ color: oklch(47.4% 0.255 281.5);
Tailwind
colors: {
  custom: {
    50: '#9669ed',
    500: '#5326e3',
    950: '#000000',
  },
}
SCSS
$custom: #5326e3;
$custom-light: #9669ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5326e3",
  "rgb": {
    "r": 83,
    "g": 38,
    "b": 227
  },
  "hsl": {
    "h": 254.286,
    "s": 77.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47435,
    "c": 0.25472,
    "h": 281.5
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#5326E3
secondary
#C8DC89
accent
#F434C6
background
#FAF6FE
surface
#F4EBFD
border
#CEC6D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #5326E3

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

Preview Lab → · Contrast checker → · Palette generator →

#5326E3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva