#5926C7#5926C7

#5926C7 is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.1% C 0.224 H 288.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#5926C7
RGBrgb(89, 38, 199)
HSLhsl(259, 68%, 46%)
HSVhsv(259, 81%, 78%)
CMYKcmyk(55.3%, 80.9%, 0%, 22%)
CIE-LABlab(33.21, 58.82, -74.15)
CIE-LCHlch(33.21, 94.65, 308.42°)
OKLaboklab(45.11% 0.0695 -0.2134)
OKLCHoklch(45.11% 0.224 288)
XYZxyz(15.1187, 7.6328, 54.6984)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5926C7 #94C726
analogous
#2644C7 #5926C7 #AA26C7
triadic
#5926C7 #C75926 #26C759
tetradic
#5926C7 #C72644 #94C726 #26C7AA
square
#5926C7 #C72644 #94C726 #26C7AA
split-complementary
#5926C7 #C7AA26 #44C726
monochromatic
#2B1260 #421C94 #5926C7 #7B4DDD #A181E7

Accessibility & contrast

On white

8.31
#5926C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5926C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5926C7
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5926C7#FFFFFF#000000##FFFFFF
##5926C71.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CB
Deuteranopia (green-blind)
#004AC4
Tritanopia (blue-blind)
#295778
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5926c7;
/* rgb */ color: rgb(89, 38, 199);
/* oklch */ color: oklch(45.1% 0.224 288.0);
Tailwind
colors: {
  custom: {
    50: '#9468d9',
    500: '#5926c7',
    950: '#000000',
  },
}
SCSS
$custom: #5926c7;
$custom-light: #9468d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5926c7",
  "rgb": {
    "r": 89,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 259.006,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45112,
    "c": 0.22446,
    "h": 288
  },
  "luminance": 0.07634
}

Semantic roles & 50–950 ramp

primary
#5926C7
secondary
#B4CF79
accent
#EB3DB4
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0F0715
muted
#7E7A83

Preview Lab

Preview with #5926C7

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

Preview Lab → · Contrast checker → · Palette generator →

#5926C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva