#7A4BED#7A4BED

#7A4BED is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.9% C 0.229 H 290.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7A4BED
RGBrgb(122, 75, 237)
HSLhsl(257, 82%, 61%)
HSVhsv(257, 68%, 93%)
CMYKcmyk(48.5%, 68.4%, 0%, 7.1%)
CIE-LABlab(46.02, 56.51, -74.81)
CIE-LCHlch(46.02, 93.75, 307.07°)
OKLaboklab(55.94% 0.0795 -0.2146)
OKLCHoklch(55.94% 0.229 290.3)
XYZxyz(25.8238, 15.2831, 81.6936)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BED #BEED4B
analogous
#4B6DED #7A4BED #CB4BED
triadic
#7A4BED #ED7A4B #4BED7A
tetradic
#7A4BED #ED4B6D #BEED4B #4BEDCB
square
#7A4BED #ED4B6D #BEED4B #4BEDCB
split-complementary
#7A4BED #EDCB4B #6DED4B
monochromatic
#3E11AC #5217E4 #7A4BED #A383F3 #CCBAF8

Accessibility & contrast

On white

5.18
#7A4BED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7A4BED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BED
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BED#FFFFFF#000000##FFFFFF
##7A4BED1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0069EA
Tritanopia (blue-blind)
#537496
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a4bed;
/* rgb */ color: rgb(122, 75, 237);
/* oklch */ color: oklch(55.9% 0.229 290.3);
Tailwind
colors: {
  custom: {
    50: '#aa81f4',
    500: '#7a4bed',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bed;
$custom-light: #aa81f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bed",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 237
  },
  "hsl": {
    "h": 257.407,
    "s": 81.818,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5594,
    "c": 0.22881,
    "h": 290.3
  },
  "luminance": 0.15284
}

Semantic roles & 50–950 ramp

primary
#7A4BED
secondary
#D7E8AB
accent
#DE07A0
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110A17
muted
#807C85

Preview Lab

Preview with #7A4BED

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

Preview Lab → · Contrast checker → · Palette generator →

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