#7A2BBF#7A2BBF

#7A2BBF is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.214 H 303.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7A2BBF
RGBrgb(122, 43, 191)
HSLhsl(272, 63%, 46%)
HSVhsv(272, 77%, 75%)
CMYKcmyk(36.1%, 77.5%, 0%, 25.1%)
CIE-LABlab(37.16, 59.52, -62.82)
CIE-LCHlch(37.16, 86.54, 313.46°)
OKLaboklab(48.53% 0.1175 -0.1792)
OKLCHoklch(48.53% 0.214 303.3)
XYZxyz(18.2917, 9.6269, 50.1746)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2BBF #70BF2B
analogous
#302BBF #7A2BBF #BF2BBA
triadic
#7A2BBF #BF7A2B #2BBF7A
tetradic
#7A2BBF #BF302B #70BF2B #2BBABF
square
#7A2BBF #BF302B #70BF2B #2BBABF
split-complementary
#7A2BBF #BABF2B #2BBF30
monochromatic
#3A155B #5A208D #7A2BBF #9850D8 #B582E3

Accessibility & contrast

On white

7.18
#7A2BBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7A2BBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2BBF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2BBF#FFFFFF#000000##FFFFFF
##7A2BBF1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a2bbf;
/* rgb */ color: rgb(122, 43, 191);
/* oklch */ color: oklch(48.5% 0.214 303.3);
Tailwind
colors: {
  custom: {
    50: '#a76dd3',
    500: '#7a2bbf',
    950: '#000000',
  },
}
SCSS
$custom: #7a2bbf;
$custom-light: #a76dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2bbf",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 191
  },
  "hsl": {
    "h": 272.027,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48533,
    "c": 0.21425,
    "h": 303.3
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#7A2BBF
secondary
#A0CC7A
accent
#E6428E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A2BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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