#7A5CED#7A5CED

#7A5CED is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.4% C 0.208 H 287.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7A5CED
RGBrgb(122, 92, 237)
HSLhsl(252, 80%, 65%)
HSVhsv(252, 61%, 93%)
CMYKcmyk(48.5%, 61.2%, 0%, 7.1%)
CIE-LABlab(49.38, 47.42, -69.33)
CIE-LCHlch(49.38, 84.00, 304.37°)
OKLaboklab(58.37% 0.0632 -0.1985)
OKLCHoklch(58.37% 0.208 287.7)
XYZxyz(27.1348, 17.9051, 82.1306)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5CED #CFED5C
analogous
#5C87ED #7A5CED #C35CED
triadic
#7A5CED #ED7A5C #5CED7A
tetradic
#7A5CED #ED5C87 #CFED5C #5CEDC3
square
#7A5CED #ED5C87 #CFED5C #5CEDC3
split-complementary
#7A5CED #EDC35C #87ED5C
monochromatic
#3715BA #4D25E7 #7A5CED #A793F3 #D4CAF9

Accessibility & contrast

On white

4.58
#7A5CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #7A5CED
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5CED#FFFFFF#000000##000000
##7A5CED1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0071EA
Tritanopia (blue-blind)
#527E9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a5ced;
/* rgb */ color: rgb(122, 92, 237);
/* oklch */ color: oklch(58.4% 0.208 287.7);
Tailwind
colors: {
  custom: {
    50: '#a98bf4',
    500: '#7a5ced',
    950: '#000000',
  },
}
SCSS
$custom: #7a5ced;
$custom-light: #a98bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5ced",
  "rgb": {
    "r": 122,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 252.414,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58367,
    "c": 0.2083,
    "h": 287.7
  },
  "luminance": 0.17906
}

Semantic roles & 50–950 ramp

primary
#7A5CED
secondary
#E1EBB9
accent
#DC09B1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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