#7A2FBC#7A2FBC

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

Color values

HEX#7A2FBC
RGBrgb(122, 47, 188)
HSLhsl(272, 60%, 46%)
HSVhsv(272, 75%, 74%)
CMYKcmyk(35.1%, 75%, 0%, 26.3%)
CIE-LABlab(37.48, 57.22, -60.53)
CIE-LCHlch(37.48, 83.30, 313.39°)
OKLaboklab(48.68% 0.1147 -0.1725)
OKLCHoklch(48.68% 0.207 303.6)
XYZxyz(18.1175, 9.8015, 48.5046)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2FBC #71BC2F
analogous
#332FBC #7A2FBC #BC2FB7
triadic
#7A2FBC #BC7A2F #2FBC7A
tetradic
#7A2FBC #BC332F #71BC2F #2FB7BC
square
#7A2FBC #BC332F #71BC2F #2FB7BC
split-complementary
#7A2FBC #B7BC2F #2FBC33
monochromatic
#3A175A #5A238B #7A2FBC #9854D4 #B685E0

Accessibility & contrast

On white

7.09
#7A2FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2FBC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2FBC#FFFFFF#000000##FFFFFF
##7A2FBC1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#6D5274
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a2fbc;
/* rgb */ color: rgb(122, 47, 188);
/* oklch */ color: oklch(48.7% 0.207 303.6);
Tailwind
colors: {
  custom: {
    50: '#a66fd1',
    500: '#7a2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #7a2fbc;
$custom-light: #a66fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2fbc",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 271.915,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48683,
    "c": 0.20715,
    "h": 303.6
  },
  "luminance": 0.09801
}

Semantic roles & 50–950 ramp

primary
#7A2FBC
secondary
#A1CA7D
accent
#E3458F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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