#7A4BC8#7A4BC8

#7A4BC8 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.1% C 0.186 H 296.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7A4BC8
RGBrgb(122, 75, 200)
HSLhsl(263, 53%, 54%)
HSVhsv(263, 63%, 78%)
CMYKcmyk(39%, 62.5%, 0%, 21.6%)
CIE-LABlab(43.27, 46.63, -58.15)
CIE-LCHlch(43.27, 74.53, 308.72°)
OKLaboklab(53.1% 0.084 -0.1656)
OKLCHoklch(53.1% 0.186 296.9)
XYZxyz(20.9648, 13.3395, 56.1026)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BC8 #99C84B
analogous
#4B5BC8 #7A4BC8 #B94BC8
triadic
#7A4BC8 #C87A4B #4BC87A
tetradic
#7A4BC8 #C84B5B #99C84B #4BC8B9
square
#7A4BC8 #C84B5B #99C84B #4BC8B9
split-complementary
#7A4BC8 #C8B94B #5BC84B
monochromatic
#422475 #5D32A4 #7A4BC8 #9D7AD6 #BFA9E5

Accessibility & contrast

On white

5.73
#7A4BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7A4BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BC8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BC8#FFFFFF#000000##FFFFFF
##7A4BC81.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#0165C5
Tritanopia (blue-blind)
#676783
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a4bc8;
/* rgb */ color: rgb(122, 75, 200);
/* oklch */ color: oklch(53.1% 0.186 296.9);
Tailwind
colors: {
  custom: {
    50: '#a680d9',
    500: '#7a4bc8',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bc8;
$custom-light: #a680d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bc8",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 200
  },
  "hsl": {
    "h": 262.56,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.531,
    "c": 0.1857,
    "h": 296.9
  },
  "luminance": 0.1334
}

Semantic roles & 50–950 ramp

primary
#7A4BC8
secondary
#BED29D
accent
#DD4BA6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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