#7A2CBF#7A2CBF

#7A2CBF is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.213 H 303.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7A2CBF
RGBrgb(122, 44, 191)
HSLhsl(272, 63%, 46%)
HSVhsv(272, 77%, 75%)
CMYKcmyk(36.1%, 77%, 0%, 25.1%)
CIE-LABlab(37.30, 59.13, -62.60)
CIE-LCHlch(37.30, 86.11, 313.37°)
OKLaboklab(48.63% 0.1167 -0.1785)
OKLCHoklch(48.63% 0.213 303.2)
XYZxyz(18.3285, 9.7005, 50.1869)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2CBF #71BF2C
analogous
#312CBF #7A2CBF #BF2CBA
triadic
#7A2CBF #BF7A2C #2CBF7A
tetradic
#7A2CBF #BF312C #71BF2C #2CBABF
square
#7A2CBF #BF312C #71BF2C #2CBABF
split-complementary
#7A2CBF #BABF2C #2CBF31
monochromatic
#3A155C #5A218D #7A2CBF #9851D7 #B683E2

Accessibility & contrast

On white

7.14
#7A2CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7A2CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2CBF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2CBF#FFFFFF#000000##FFFFFF
##7A2CBF1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a2cbf;
/* rgb */ color: rgb(122, 44, 191);
/* oklch */ color: oklch(48.6% 0.213 303.2);
Tailwind
colors: {
  custom: {
    50: '#a76ed3',
    500: '#7a2cbf',
    950: '#000000',
  },
}
SCSS
$custom: #7a2cbf;
$custom-light: #a76ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2cbf",
  "rgb": {
    "r": 122,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 271.837,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48627,
    "c": 0.21326,
    "h": 303.2
  },
  "luminance": 0.09701
}

Semantic roles & 50–950 ramp

primary
#7A2CBF
secondary
#A1CC7B
accent
#E6428F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A2CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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