#7C5BED#7C5BED

#7C5BED is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.4% C 0.209 H 288.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7C5BED
RGBrgb(124, 91, 237)
HSLhsl(254, 80%, 64%)
HSVhsv(254, 62%, 93%)
CMYKcmyk(47.7%, 61.6%, 0%, 7.1%)
CIE-LABlab(49.35, 48.35, -69.37)
CIE-LCHlch(49.35, 84.56, 304.88°)
OKLaboklab(58.39% 0.0668 -0.1985)
OKLCHoklch(58.39% 0.209 288.6)
XYZxyz(27.3349, 17.8805, 82.1153)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5BED #CCED5B
analogous
#5B83ED #7C5BED #C55BED
triadic
#7C5BED #ED7C5B #5BED7C
tetradic
#7C5BED #ED5B83 #CCED5B #5BEDC5
square
#7C5BED #ED5B83 #CCED5B #5BEDC5
split-complementary
#7C5BED #EDC55B #83ED5B
monochromatic
#3A14B9 #5024E7 #7C5BED #A892F3 #D4C9F9

Accessibility & contrast

On white

4.59
#7C5BED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7C5BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5BED
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5BED#FFFFFF#000000##FFFFFF
##7C5BED1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#0072EA
Tritanopia (blue-blind)
#567D9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7c5bed;
/* rgb */ color: rgb(124, 91, 237);
/* oklch */ color: oklch(58.4% 0.209 288.6);
Tailwind
colors: {
  custom: {
    50: '#aa8bf4',
    500: '#7c5bed',
    950: '#000000',
  },
}
SCSS
$custom: #7c5bed;
$custom-light: #aa8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5bed",
  "rgb": {
    "r": 124,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 253.562,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58389,
    "c": 0.20947,
    "h": 288.6
  },
  "luminance": 0.17882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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