#7A4BDE#7A4BDE

#7A4BDE is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.212 H 292.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7A4BDE
RGBrgb(122, 75, 222)
HSLhsl(259, 69%, 58%)
HSVhsv(259, 66%, 87%)
CMYKcmyk(45%, 66.2%, 0%, 12.9%)
CIE-LABlab(44.86, 52.48, -68.20)
CIE-LCHlch(44.86, 86.05, 307.58°)
OKLaboklab(54.75% 0.0818 -0.1951)
OKLCHoklch(54.75% 0.212 292.7)
XYZxyz(23.7233, 14.4429, 70.6309)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BDE #AFDE4B
analogous
#4B65DE #7A4BDE #C44BDE
triadic
#7A4BDE #DE7A4B #4BDE7A
tetradic
#7A4BDE #DE4B65 #AFDE4B #4BDEC4
square
#7A4BDE #DE4B65 #AFDE4B #4BDEC4
split-complementary
#7A4BDE #DEC44B #65DE4B
monochromatic
#421B94 #5925C7 #7A4BDE #A07FE7 #C6B2F1

Accessibility & contrast

On white

5.40
#7A4BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7A4BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BDE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BDE#FFFFFF#000000##FFFFFF
##7A4BDE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#0067DB
Tritanopia (blue-blind)
#5D6F8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a4bde;
/* rgb */ color: rgb(122, 75, 222);
/* oklch */ color: oklch(54.8% 0.212 292.7);
Tailwind
colors: {
  custom: {
    50: '#a880e9',
    500: '#7a4bde',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bde;
$custom-light: #a880e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bde",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 222
  },
  "hsl": {
    "h": 259.184,
    "s": 69.014,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5475,
    "c": 0.21158,
    "h": 292.7
  },
  "luminance": 0.14444
}

Semantic roles & 50–950 ramp

primary
#7A4BDE
secondary
#CDE0A5
accent
#EC3CB4
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7A4BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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