#7A2EB0#7A2EB0

#7A2EB0 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.6% C 0.196 H 307.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7A2EB0
RGBrgb(122, 46, 176)
HSLhsl(275, 59%, 44%)
HSVhsv(275, 74%, 69%)
CMYKcmyk(30.7%, 73.9%, 0%, 31%)
CIE-LABlab(36.42, 54.88, -55.17)
CIE-LCHlch(36.42, 77.82, 314.85°)
OKLaboklab(47.64% 0.1181 -0.1567)
OKLCHoklch(47.64% 0.196 307)
XYZxyz(16.8378, 9.2264, 41.9597)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2EB0 #64B02E
analogous
#392EB0 #7A2EB0 #B02EA5
triadic
#7A2EB0 #B07A2E #2EB07A
tetradic
#7A2EB0 #B0392E #64B02E #2EA5B0
square
#7A2EB0 #B0392E #64B02E #2EA5B0
split-complementary
#7A2EB0 #A5B02E #2EB039
monochromatic
#37154F #58217F #7A2EB0 #994BD0 #B47CDD

Accessibility & contrast

On white

7.38
#7A2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7A2EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2EB0
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2EB0#FFFFFF#000000##FFFFFF
##7A2EB01.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#714D6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a2eb0;
/* rgb */ color: rgb(122, 46, 176);
/* oklch */ color: oklch(47.6% 0.196 307.0);
Tailwind
colors: {
  custom: {
    50: '#a56ec8',
    500: '#7a2eb0',
    950: '#000000',
  },
}
SCSS
$custom: #7a2eb0;
$custom-light: #a56ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2eb0",
  "rgb": {
    "r": 122,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 275.077,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47641,
    "c": 0.19622,
    "h": 307
  },
  "luminance": 0.09226
}

Semantic roles & 50–950 ramp

primary
#7A2EB0
secondary
#96C575
accent
#E24687
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A2EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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