#5826C7#5826C7

#5826C7 is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.225 H 287.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#5826C7
RGBrgb(88, 38, 199)
HSLhsl(259, 68%, 46%)
HSVhsv(259, 81%, 78%)
CMYKcmyk(55.8%, 80.9%, 0%, 22%)
CIE-LABlab(33.10, 58.70, -74.33)
CIE-LCHlch(33.10, 94.72, 308.30°)
OKLaboklab(45.01% 0.068 -0.214)
OKLCHoklch(45.01% 0.225 287.6)
XYZxyz(15.0234, 7.5836, 54.6939)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5826C7 #95C726
analogous
#2644C7 #5826C7 #A926C7
triadic
#5826C7 #C75826 #26C758
tetradic
#5826C7 #C72644 #95C726 #26C7A9
square
#5826C7 #C72644 #95C726 #26C7A9
split-complementary
#5826C7 #C7A926 #44C726
monochromatic
#2B1260 #411C94 #5826C7 #7A4DDD #A081E7

Accessibility & contrast

On white

8.34
#5826C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5826C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5826C7
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5826C7#FFFFFF#000000##FFFFFF
##5826C71.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CB
Deuteranopia (green-blind)
#0049C4
Tritanopia (blue-blind)
#255778
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5826c7;
/* rgb */ color: rgb(88, 38, 199);
/* oklch */ color: oklch(45.0% 0.225 287.6);
Tailwind
colors: {
  custom: {
    50: '#9468d9',
    500: '#5826c7',
    950: '#000000',
  },
}
SCSS
$custom: #5826c7;
$custom-light: #9468d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5826c7",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 258.634,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45014,
    "c": 0.22451,
    "h": 287.6
  },
  "luminance": 0.07584
}

Semantic roles & 50–950 ramp

primary
#5826C7
secondary
#B5CF79
accent
#EB3DB5
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5826C7

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

Preview Lab → · Contrast checker → · Palette generator →

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