#7A4BDB#7A4BDB

#7A4BDB is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.208 H 293.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7A4BDB
RGBrgb(122, 75, 219)
HSLhsl(260, 67%, 58%)
HSVhsv(260, 66%, 86%)
CMYKcmyk(44.3%, 65.8%, 0%, 14.1%)
CIE-LABlab(44.64, 51.67, -66.85)
CIE-LCHlch(44.64, 84.49, 307.70°)
OKLaboklab(54.52% 0.0822 -0.1912)
OKLCHoklch(54.52% 0.208 293.3)
XYZxyz(23.3248, 14.2835, 68.5321)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BDB #ACDB4B
analogous
#4B64DB #7A4BDB #C24BDB
triadic
#7A4BDB #DB7A4B #4BDB7A
tetradic
#7A4BDB #DB4B64 #ACDB4B #4BDBC2
square
#7A4BDB #DB4B64 #ACDB4B #4BDBC2
split-complementary
#7A4BDB #DBC24B #64DB4B
monochromatic
#421D8F #5927C2 #7A4BDB #A07EE5 #C5B1EF

Accessibility & contrast

On white

5.44
#7A4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7A4BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BDB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BDB#FFFFFF#000000##FFFFFF
##7A4BDB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#5E6E8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a4bdb;
/* rgb */ color: rgb(122, 75, 219);
/* oklch */ color: oklch(54.5% 0.208 293.3);
Tailwind
colors: {
  custom: {
    50: '#a880e7',
    500: '#7a4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bdb;
$custom-light: #a880e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bdb",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 259.583,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54518,
    "c": 0.20809,
    "h": 293.3
  },
  "luminance": 0.14284
}

Semantic roles & 50–950 ramp

primary
#7A4BDB
secondary
#CBDEA4
accent
#EA3EB2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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