#7A4FCF#7A4FCF

#7A4FCF is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.189 H 294.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7A4FCF
RGBrgb(122, 79, 207)
HSLhsl(260, 57%, 56%)
HSVhsv(260, 62%, 81%)
CMYKcmyk(41.1%, 61.8%, 0%, 18.8%)
CIE-LABlab(44.57, 46.31, -60.09)
CIE-LCHlch(44.57, 75.87, 307.62°)
OKLaboklab(54.2% 0.0791 -0.1713)
OKLCHoklch(54.2% 0.189 294.8)
XYZxyz(22.0815, 14.2340, 60.6034)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FCF #A4CF4F
analogous
#4F64CF #7A4FCF #BA4FCF
triadic
#7A4FCF #CF7A4F #4FCF7A
tetradic
#7A4FCF #CF4F64 #A4CF4F #4FCFBA
square
#7A4FCF #CF4F64 #A4CF4F #4FCFBA
split-complementary
#7A4FCF #CFBA4F #64CF4F
monochromatic
#422381 #5B30B1 #7A4FCF #9E7FDC #C3AFE9

Accessibility & contrast

On white

5.46
#7A4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7A4FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FCF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FCF#FFFFFF#000000##FFFFFF
##7A4FCF1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#646C88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a4fcf;
/* rgb */ color: rgb(122, 79, 207);
/* oklch */ color: oklch(54.2% 0.189 294.8);
Tailwind
colors: {
  custom: {
    50: '#a682de',
    500: '#7a4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fcf;
$custom-light: #a682de;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fcf",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 260.156,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54195,
    "c": 0.18867,
    "h": 294.8
  },
  "luminance": 0.14235
}

Semantic roles & 50–950 ramp

primary
#7A4FCF
secondary
#C6D7A2
accent
#E047AD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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