#7A2CAF#7A2CAF

#7A2CAF is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.4% C 0.197 H 307.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7A2CAF
RGBrgb(122, 44, 175)
HSLhsl(276, 60%, 43%)
HSVhsv(276, 75%, 69%)
CMYKcmyk(30.3%, 74.9%, 0%, 31.4%)
CIE-LABlab(36.05, 55.48, -55.17)
CIE-LCHlch(36.05, 78.24, 315.16°)
OKLaboklab(47.36% 0.1202 -0.1567)
OKLCHoklch(47.36% 0.197 307.5)
XYZxyz(16.6629, 9.0343, 41.4151)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2CAF #61AF2C
analogous
#382CAF #7A2CAF #AF2CA2
triadic
#7A2CAF #AF7A2C #2CAF7A
tetradic
#7A2CAF #AF382C #61AF2C #2CA2AF
square
#7A2CAF #AF382C #61AF2C #2CA2AF
split-complementary
#7A2CAF #A2AF2C #2CAF38
monochromatic
#36134D #58207E #7A2CAF #9947D1 #B478DD

Accessibility & contrast

On white

7.48
#7A2CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7A2CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2CAF
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2CAF#FFFFFF#000000##FFFFFF
##7A2CAF1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#714C6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a2caf;
/* rgb */ color: rgb(122, 44, 175);
/* oklch */ color: oklch(47.4% 0.197 307.5);
Tailwind
colors: {
  custom: {
    50: '#a56dc8',
    500: '#7a2caf',
    950: '#000000',
  },
}
SCSS
$custom: #7a2caf;
$custom-light: #a56dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2caf",
  "rgb": {
    "r": 122,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 275.725,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47359,
    "c": 0.19747,
    "h": 307.5
  },
  "luminance": 0.09034
}

Semantic roles & 50–950 ramp

primary
#7A2CAF
secondary
#93C572
accent
#E34585
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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