#5C46C8#5C46C8

#5C46C8 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.5% C 0.192 H 284.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5C46C8
RGBrgb(92, 70, 200)
HSLhsl(250, 54%, 53%)
HSVhsv(250, 65%, 78%)
CMYKcmyk(54%, 65%, 0%, 21.6%)
CIE-LABlab(39.28, 43.56, -64.76)
CIE-LCHlch(39.28, 78.05, 303.93°)
OKLaboklab(49.51% 0.0487 -0.186)
OKLCHoklch(49.51% 0.192 284.7)
XYZxyz(17.0260, 10.8248, 55.8246)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C46C8 #B2C846
analogous
#4671C8 #5C46C8 #9D46C8
triadic
#5C46C8 #C85C46 #46C85C
tetradic
#5C46C8 #C84671 #B2C846 #46C89D
square
#5C46C8 #C84671 #B2C846 #46C89D
split-complementary
#5C46C8 #C89D46 #71C846
monochromatic
#2F2272 #4330A1 #5C46C8 #8675D6 #AFA4E4

Accessibility & contrast

On white

6.63
#5C46C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5C46C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C46C8
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C46C8#FFFFFF#000000##FFFFFF
##5C46C81.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#2D6681
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5c46c8;
/* rgb */ color: rgb(92, 70, 200);
/* oklch */ color: oklch(49.5% 0.192 284.7);
Tailwind
colors: {
  custom: {
    50: '#947bda',
    500: '#5c46c8',
    950: '#000000',
  },
}
SCSS
$custom: #5c46c8;
$custom-light: #947bda;
$custom-dark: #000000;
JSON
{
  "hex": "#5c46c8",
  "rgb": {
    "r": 92,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 250.154,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49512,
    "c": 0.19225,
    "h": 284.7
  },
  "luminance": 0.10826
}

Semantic roles & 50–950 ramp

primary
#5C46C8
secondary
#C7D199
accent
#DE4AC5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C46C8

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

Preview Lab → · Contrast checker → · Palette generator →

#5C46C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva