#7A49CB#7A49CB

#7A49CB is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.192 H 296.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7A49CB
RGBrgb(122, 73, 203)
HSLhsl(263, 56%, 54%)
HSVhsv(263, 64%, 80%)
CMYKcmyk(39.9%, 64%, 0%, 20.4%)
CIE-LABlab(43.08, 48.48, -60.18)
CIE-LCHlch(43.08, 77.29, 308.86°)
OKLaboklab(53.03% 0.086 -0.1716)
OKLCHoklch(53.03% 0.192 296.6)
XYZxyz(21.1853, 13.2141, 57.9227)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A49CB #9ACB49
analogous
#4959CB #7A49CB #BB49CB
triadic
#7A49CB #CB7A49 #49CB7A
tetradic
#7A49CB #CB4959 #9ACB49 #49CBBB
square
#7A49CB #CB4959 #9ACB49 #49CBBB
split-complementary
#7A49CB #CBBB49 #59CB49
monochromatic
#422277 #5D30A7 #7A49CB #9D79D9 #C0A8E6

Accessibility & contrast

On white

5.76
#7A49CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7A49CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A49CB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A49CB#FFFFFF#000000##FFFFFF
##7A49CB1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#666783
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a49cb;
/* rgb */ color: rgb(122, 73, 203);
/* oklch */ color: oklch(53.0% 0.192 296.6);
Tailwind
colors: {
  custom: {
    50: '#a67edc',
    500: '#7a49cb',
    950: '#000000',
  },
}
SCSS
$custom: #7a49cb;
$custom-light: #a67edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a49cb",
  "rgb": {
    "r": 122,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 262.615,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53032,
    "c": 0.19194,
    "h": 296.6
  },
  "luminance": 0.13214
}

Semantic roles & 50–950 ramp

primary
#7A49CB
secondary
#BFD49C
accent
#DF49A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A49CB

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

Preview Lab → · Contrast checker → · Palette generator →

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