#7A5ADE#7A5ADE

#7A5ADE is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.192 H 290.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7A5ADE
RGBrgb(122, 90, 222)
HSLhsl(255, 67%, 61%)
HSVhsv(255, 59%, 87%)
CMYKcmyk(45%, 59.5%, 0%, 12.9%)
CIE-LABlab(47.91, 44.30, -63.25)
CIE-LCHlch(47.91, 77.23, 305.01°)
OKLaboklab(56.96% 0.0661 -0.1806)
OKLCHoklch(56.96% 0.192 290.1)
XYZxyz(24.8633, 16.7229, 71.0109)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5ADE #BEDE5A
analogous
#5A7CDE #7A5ADE #BC5ADE
triadic
#7A5ADE #DE7A5A #5ADE7A
tetradic
#7A5ADE #DE5A7C #BEDE5A #5ADEBC
square
#7A5ADE #DE5A7C #BEDE5A #5ADEBC
split-complementary
#7A5ADE #DEBC5A #7CDE5A
monochromatic
#3E209E #522AD1 #7A5ADE #A38DE8 #CCC0F2

Accessibility & contrast

On white

4.83
#7A5ADE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7A5ADE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5ADE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5ADE#FFFFFF#000000##FFFFFF
##7A5ADE1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#5C7893
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a5ade;
/* rgb */ color: rgb(122, 90, 222);
/* oklch */ color: oklch(57.0% 0.192 290.1);
Tailwind
colors: {
  custom: {
    50: '#a78ae9',
    500: '#7a5ade',
    950: '#000000',
  },
}
SCSS
$custom: #7a5ade;
$custom-light: #a78ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5ade",
  "rgb": {
    "r": 122,
    "g": 90,
    "b": 222
  },
  "hsl": {
    "h": 254.545,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56961,
    "c": 0.19232,
    "h": 290.1
  },
  "luminance": 0.16724
}

Semantic roles & 50–950 ramp

primary
#7A5ADE
secondary
#D7E3B1
accent
#CF17A2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7A5ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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