#7A4FEF#7A4FEF

#7A4FEF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.227 H 289.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7A4FEF
RGBrgb(122, 79, 239)
HSLhsl(256, 83%, 62%)
HSVhsv(256, 67%, 94%)
CMYKcmyk(49%, 66.9%, 0%, 6.3%)
CIE-LABlab(46.92, 55.00, -74.46)
CIE-LCHlch(46.92, 92.57, 306.45°)
OKLaboklab(56.64% 0.0756 -0.2135)
OKLCHoklch(56.64% 0.227 289.5)
XYZxyz(26.3975, 15.9604, 83.3344)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FEF #C4EF4F
analogous
#4F74EF #7A4FEF #CA4FEF
triadic
#7A4FEF #EF7A4F #4FEF7A
tetradic
#7A4FEF #EF4F74 #C4EF4F #4FEFCA
square
#7A4FEF #EF4F74 #C4EF4F #4FEFCA
split-complementary
#7A4FEF #EFCA4F #74EF4F
monochromatic
#3C10B3 #5017EA #7A4FEF #A487F4 #CFBFF9

Accessibility & contrast

On white

5.01
#7A4FEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7A4FEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FEF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FEF#FFFFFF#000000##FFFFFF
##7A4FEF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#527799
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a4fef;
/* rgb */ color: rgb(122, 79, 239);
/* oklch */ color: oklch(56.6% 0.227 289.5);
Tailwind
colors: {
  custom: {
    50: '#aa83f5',
    500: '#7a4fef',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fef;
$custom-light: #aa83f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fef",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 239
  },
  "hsl": {
    "h": 256.125,
    "s": 83.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56635,
    "c": 0.22651,
    "h": 289.5
  },
  "luminance": 0.15962
}

Semantic roles & 50–950 ramp

primary
#7A4FEF
secondary
#DAEAB0
accent
#E006A5
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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