#7A2DBF#7A2DBF

#7A2DBF is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.7% C 0.212 H 303.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7A2DBF
RGBrgb(122, 45, 191)
HSLhsl(272, 62%, 46%)
HSVhsv(272, 76%, 75%)
CMYKcmyk(36.1%, 76.4%, 0%, 25.1%)
CIE-LABlab(37.44, 58.73, -62.37)
CIE-LCHlch(37.44, 85.67, 313.28°)
OKLaboklab(48.72% 0.1158 -0.1779)
OKLCHoklch(48.72% 0.212 303.1)
XYZxyz(18.3662, 9.7759, 50.1995)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2DBF #72BF2D
analogous
#312DBF #7A2DBF #BF2DBB
triadic
#7A2DBF #BF7A2D #2DBF7A
tetradic
#7A2DBF #BF312D #72BF2D #2DBBBF
square
#7A2DBF #BF312D #72BF2D #2DBBBF
split-complementary
#7A2DBF #BBBF2D #2DBF31
monochromatic
#3B165C #5A218D #7A2DBF #9853D6 #B684E2

Accessibility & contrast

On white

7.11
#7A2DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7A2DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2DBF
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2DBF#FFFFFF#000000##FFFFFF
##7A2DBF1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#6C5375
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a2dbf;
/* rgb */ color: rgb(122, 45, 191);
/* oklch */ color: oklch(48.7% 0.212 303.1);
Tailwind
colors: {
  custom: {
    50: '#a76ed3',
    500: '#7a2dbf',
    950: '#000000',
  },
}
SCSS
$custom: #7a2dbf;
$custom-light: #a76ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2dbf",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 271.644,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48724,
    "c": 0.21225,
    "h": 303.1
  },
  "luminance": 0.09776
}

Semantic roles & 50–950 ramp

primary
#7A2DBF
secondary
#A2CB7C
accent
#E5438F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A2DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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