#7A2DAF#7A2DAF

#7A2DAF is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.5% C 0.196 H 307.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7A2DAF
RGBrgb(122, 45, 175)
HSLhsl(276, 59%, 43%)
HSVhsv(276, 74%, 69%)
CMYKcmyk(30.3%, 74.3%, 0%, 31.4%)
CIE-LABlab(36.19, 55.07, -54.93)
CIE-LCHlch(36.19, 77.79, 315.07°)
OKLaboklab(47.46% 0.1192 -0.156)
OKLCHoklch(47.46% 0.196 307.4)
XYZxyz(16.7006, 9.1097, 41.4277)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2DAF #62AF2D
analogous
#392DAF #7A2DAF #AF2DA3
triadic
#7A2DAF #AF7A2D #2DAF7A
tetradic
#7A2DAF #AF392D #62AF2D #2DA3AF
square
#7A2DAF #AF392D #62AF2D #2DA3AF
split-complementary
#7A2DAF #A3AF2D #2DAF39
monochromatic
#36144E #58207E #7A2DAF #9949D0 #B47ADD

Accessibility & contrast

On white

7.44
#7A2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7A2DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2DAF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2DAF#FFFFFF#000000##FFFFFF
##7A2DAF1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a2daf;
/* rgb */ color: rgb(122, 45, 175);
/* oklch */ color: oklch(47.5% 0.196 307.4);
Tailwind
colors: {
  custom: {
    50: '#a56ec8',
    500: '#7a2daf',
    950: '#000000',
  },
}
SCSS
$custom: #7a2daf;
$custom-light: #a56ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2daf",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 275.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47461,
    "c": 0.19635,
    "h": 307.4
  },
  "luminance": 0.09109
}

Semantic roles & 50–950 ramp

primary
#7A2DAF
secondary
#94C573
accent
#E24685
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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