#7A2EAF#7A2EAF

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

Color values

HEX#7A2EAF
RGBrgb(122, 46, 175)
HSLhsl(275, 58%, 43%)
HSVhsv(275, 74%, 69%)
CMYKcmyk(30.3%, 73.7%, 0%, 31.4%)
CIE-LABlab(36.34, 54.65, -54.69)
CIE-LCHlch(36.34, 77.32, 314.98°)
OKLaboklab(47.57% 0.1183 -0.1553)
OKLCHoklch(47.57% 0.195 307.3)
XYZxyz(16.7393, 9.1869, 41.4405)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2EAF #63AF2E
analogous
#392EAF #7A2EAF #AF2EA3
triadic
#7A2EAF #AF7A2E #2EAF7A
tetradic
#7A2EAF #AF392E #63AF2E #2EA3AF
square
#7A2EAF #AF392E #63AF2E #2EA3AF
split-complementary
#7A2EAF #A3AF2E #2EAF39
monochromatic
#36154E #58217F #7A2EAF #994BD0 #B47BDC

Accessibility & contrast

On white

7.40
#7A2EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7A2EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2EAF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2EAF#FFFFFF#000000##FFFFFF
##7A2EAF1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#714D6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a2eaf;
/* rgb */ color: rgb(122, 46, 175);
/* oklch */ color: oklch(47.6% 0.195 307.3);
Tailwind
colors: {
  custom: {
    50: '#a56ec8',
    500: '#7a2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #7a2eaf;
$custom-light: #a56ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2eaf",
  "rgb": {
    "r": 122,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 275.349,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47565,
    "c": 0.19522,
    "h": 307.3
  },
  "luminance": 0.09187
}

Semantic roles & 50–950 ramp

primary
#7A2EAF
secondary
#95C574
accent
#E24686
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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