#5325E2#5325E2

#5325E2 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.2% C 0.254 H 281.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5325E2
RGBrgb(83, 37, 226)
HSLhsl(255, 77%, 52%)
HSVhsv(255, 84%, 89%)
CMYKcmyk(63.3%, 83.6%, 0%, 11.4%)
CIE-LABlab(35.31, 65.73, -86.32)
CIE-LCHlch(35.31, 108.50, 307.29°)
OKLaboklab(47.24% 0.0517 -0.249)
OKLCHoklch(47.24% 0.254 281.7)
XYZxyz(17.9520, 8.6518, 72.6607)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5325E2 #B4E225
analogous
#2556E2 #5325E2 #B125E2
triadic
#5325E2 #E25325 #25E253
tetradic
#5325E2 #E22556 #B4E225 #25E2B1
square
#5325E2 #E22556 #B4E225 #25E2B1
split-complementary
#5325E2 #E2B125 #56E225
monochromatic
#2B117C #3D18B2 #5325E2 #7E5BE9 #A891F0

Accessibility & contrast

On white

7.69
#5325E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5325E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5325E2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5325E2#FFFFFF#000000##FFFFFF
##5325E21.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#004CDF
Tritanopia (blue-blind)
#006288
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5325e2;
/* rgb */ color: rgb(83, 37, 226);
/* oklch */ color: oklch(47.2% 0.254 281.7);
Tailwind
colors: {
  custom: {
    50: '#9669ed',
    500: '#5325e2',
    950: '#000000',
  },
}
SCSS
$custom: #5325e2;
$custom-light: #9669ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5325e2",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 226
  },
  "hsl": {
    "h": 254.603,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47244,
    "c": 0.25432,
    "h": 281.7
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#5325E2
secondary
#C7DB88
accent
#F335C5
background
#FAF6FE
surface
#F4EBFD
border
#CEC6D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #5325E2

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

Preview Lab → · Contrast checker → · Palette generator →

#5325E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva