#7A49DB#7A49DB

#7A49DB is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.2% C 0.211 H 293.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7A49DB
RGBrgb(122, 73, 219)
HSLhsl(260, 67%, 57%)
HSVhsv(260, 67%, 86%)
CMYKcmyk(44.3%, 66.7%, 0%, 14.1%)
CIE-LABlab(44.26, 52.71, -67.47)
CIE-LCHlch(44.26, 85.62, 308.00°)
OKLaboklab(54.25% 0.0842 -0.193)
OKLCHoklch(54.25% 0.211 293.6)
XYZxyz(23.1913, 14.0165, 68.4876)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A49DB #AADB49
analogous
#4961DB #7A49DB #C349DB
triadic
#7A49DB #DB7A49 #49DB7A
tetradic
#7A49DB #DB4961 #AADB49 #49DBC3
square
#7A49DB #DB4961 #AADB49 #49DBC3
split-complementary
#7A49DB #DBC349 #61DB49
monochromatic
#421C8E #5A26C1 #7A49DB #9F7CE5 #C5AFEF

Accessibility & contrast

On white

5.52
#7A49DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7A49DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A49DB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A49DB#FFFFFF#000000##FFFFFF
##7A49DB1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#5E6C8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a49db;
/* rgb */ color: rgb(122, 73, 219);
/* oklch */ color: oklch(54.2% 0.211 293.6);
Tailwind
colors: {
  custom: {
    50: '#a87fe7',
    500: '#7a49db',
    950: '#000000',
  },
}
SCSS
$custom: #7a49db;
$custom-light: #a87fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a49db",
  "rgb": {
    "r": 122,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 260.137,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54245,
    "c": 0.21055,
    "h": 293.6
  },
  "luminance": 0.14017
}

Semantic roles & 50–950 ramp

primary
#7A49DB
secondary
#CADDA2
accent
#EA3EB0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A49DB

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

Preview Lab → · Contrast checker → · Palette generator →

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