#7A4BE3#7A4BE3

#7A4BE3 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.217 H 291.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7A4BE3
RGBrgb(122, 75, 227)
HSLhsl(259, 73%, 59%)
HSVhsv(259, 67%, 89%)
CMYKcmyk(46.3%, 67%, 0%, 11%)
CIE-LABlab(45.24, 53.82, -70.42)
CIE-LCHlch(45.24, 88.63, 307.39°)
OKLaboklab(55.14% 0.0811 -0.2017)
OKLCHoklch(55.14% 0.217 291.9)
XYZxyz(24.4034, 14.7149, 74.2126)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BE3 #B4E34B
analogous
#4B68E3 #7A4BE3 #C64BE3
triadic
#7A4BE3 #E37A4B #4BE37A
tetradic
#7A4BE3 #E34B68 #B4E34B #4BE3C6
square
#7A4BE3 #E34B68 #B4E34B #4BE3C6
split-complementary
#7A4BE3 #E3C64B #68E34B
monochromatic
#41189B #5720D0 #7A4BE3 #A180EB #C8B5F3

Accessibility & contrast

On white

5.33
#7A4BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7A4BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BE3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BE3#FFFFFF#000000##FFFFFF
##7A4BE31.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#5A7191
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a4be3;
/* rgb */ color: rgb(122, 75, 227);
/* oklch */ color: oklch(55.1% 0.217 291.9);
Tailwind
colors: {
  custom: {
    50: '#a980ed',
    500: '#7a4be3',
    950: '#000000',
  },
}
SCSS
$custom: #7a4be3;
$custom-light: #a980ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4be3",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 227
  },
  "hsl": {
    "h": 258.553,
    "s": 73.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55141,
    "c": 0.21736,
    "h": 291.9
  },
  "luminance": 0.14716
}

Semantic roles & 50–950 ramp

primary
#7A4BE3
secondary
#D0E3A7
accent
#F038B7
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7A4BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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