#7A2EBF#7A2EBF

#7A2EBF is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.211 H 303.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7A2EBF
RGBrgb(122, 46, 191)
HSLhsl(271, 61%, 46%)
HSVhsv(271, 76%, 75%)
CMYKcmyk(36.1%, 75.9%, 0%, 25.1%)
CIE-LABlab(37.58, 58.33, -62.14)
CIE-LCHlch(37.58, 85.23, 313.19°)
OKLaboklab(48.82% 0.1149 -0.1772)
OKLCHoklch(48.82% 0.211 303)
XYZxyz(18.4048, 9.8531, 50.2123)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2EBF #73BF2E
analogous
#322EBF #7A2EBF #BF2EBC
triadic
#7A2EBF #BF7A2E #2EBF7A
tetradic
#7A2EBF #BF322E #73BF2E #2EBCBF
square
#7A2EBF #BF322E #73BF2E #2EBCBF
split-complementary
#7A2EBF #BCBF2E #2EBF32
monochromatic
#3B165C #5A228E #7A2EBF #9854D6 #B686E2

Accessibility & contrast

On white

7.07
#7A2EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7A2EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2EBF
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2EBF#FFFFFF#000000##FFFFFF
##7A2EBF1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.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: #7a2ebf;
/* rgb */ color: rgb(122, 46, 191);
/* oklch */ color: oklch(48.8% 0.211 303.0);
Tailwind
colors: {
  custom: {
    50: '#a76fd3',
    500: '#7a2ebf',
    950: '#000000',
  },
}
SCSS
$custom: #7a2ebf;
$custom-light: #a76fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2ebf",
  "rgb": {
    "r": 122,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 271.448,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48822,
    "c": 0.21122,
    "h": 303
  },
  "luminance": 0.09853
}

Semantic roles & 50–950 ramp

primary
#7A2EBF
secondary
#A3CB7E
accent
#E44490
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A2EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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