#7E5CED#7E5CED

#7E5CED is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.7% C 0.208 H 289.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7E5CED
RGBrgb(126, 92, 237)
HSLhsl(254, 80%, 65%)
HSVhsv(254, 61%, 93%)
CMYKcmyk(46.8%, 61.2%, 0%, 7.1%)
CIE-LABlab(49.74, 48.18, -68.73)
CIE-LCHlch(49.74, 83.94, 305.03°)
OKLaboklab(58.72% 0.0683 -0.1966)
OKLCHoklch(58.72% 0.208 289.2)
XYZxyz(27.7130, 18.2032, 82.1577)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5CED #CBED5C
analogous
#5C83ED #7E5CED #C75CED
triadic
#7E5CED #ED7E5C #5CED7E
tetradic
#7E5CED #ED5C83 #CBED5C #5CEDC7
square
#7E5CED #ED5C83 #CBED5C #5CEDC7
split-complementary
#7E5CED #EDC75C #83ED5C
monochromatic
#3B15BA #5225E7 #7E5CED #AA93F3 #D5CAF9

Accessibility & contrast

On white

4.53
#7E5CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7E5CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5CED
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5CED#FFFFFF#000000##000000
##7E5CED1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0073EA
Tritanopia (blue-blind)
#5A7E9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e5ced;
/* rgb */ color: rgb(126, 92, 237);
/* oklch */ color: oklch(58.7% 0.208 289.2);
Tailwind
colors: {
  custom: {
    50: '#ab8cf4',
    500: '#7e5ced',
    950: '#000000',
  },
}
SCSS
$custom: #7e5ced;
$custom-light: #ab8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5ced",
  "rgb": {
    "r": 126,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 254.069,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58717,
    "c": 0.20812,
    "h": 289.2
  },
  "luminance": 0.18204
}

Semantic roles & 50–950 ramp

primary
#7E5CED
secondary
#E0EBB9
accent
#DC09AB
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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