#7E5CCF#7E5CCF

#7E5CCF is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.171 H 293.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7E5CCF
RGBrgb(126, 92, 207)
HSLhsl(258, 55%, 59%)
HSVhsv(258, 56%, 81%)
CMYKcmyk(39.1%, 55.6%, 0%, 18.8%)
CIE-LABlab(47.74, 39.90, -54.95)
CIE-LCHlch(47.74, 67.91, 305.99°)
OKLaboklab(56.62% 0.0691 -0.1561)
OKLCHoklch(56.62% 0.171 293.9)
XYZxyz(23.6908, 16.5944, 60.9742)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5CCF #ADCF5C
analogous
#5C73CF #7E5CCF #B75CCF
triadic
#7E5CCF #CF7E5C #5CCF7E
tetradic
#7E5CCF #CF5C73 #ADCF5C #5CCFB7
square
#7E5CCF #CF5C73 #ADCF5C #5CCFB7
split-complementary
#7E5CCF #CFB75C #73CF5C
monochromatic
#452888 #5C36B8 #7E5CCF #A38BDD #C9BBEB

Accessibility & contrast

On white

4.86
#7E5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7E5CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5CCF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5CCF#FFFFFF#000000##FFFFFF
##7E5CCF1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2373D3
Deuteranopia (green-blind)
#2D6FCC
Tritanopia (blue-blind)
#69748D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e5ccf;
/* rgb */ color: rgb(126, 92, 207);
/* oklch */ color: oklch(56.6% 0.171 293.9);
Tailwind
colors: {
  custom: {
    50: '#a88bde',
    500: '#7e5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #7e5ccf;
$custom-light: #a88bde;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5ccf",
  "rgb": {
    "r": 126,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 257.739,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56618,
    "c": 0.17067,
    "h": 293.9
  },
  "luminance": 0.16595
}

Semantic roles & 50–950 ramp

primary
#7E5CCF
secondary
#CDDAAD
accent
#DE4AB2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7E5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

#7E5CCF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva