#7A2FC0#7A2FC0

#7A2FC0 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.211 H 302.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7A2FC0
RGBrgb(122, 47, 192)
HSLhsl(271, 61%, 47%)
HSVhsv(271, 76%, 75%)
CMYKcmyk(36.5%, 75.5%, 0%, 24.7%)
CIE-LABlab(37.80, 58.16, -62.37)
CIE-LCHlch(37.80, 85.27, 313.00°)
OKLaboklab(49% 0.1138 -0.1779)
OKLCHoklch(49% 0.211 302.6)
XYZxyz(18.5547, 9.9763, 50.8071)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2FC0 #75C02F
analogous
#312FC0 #7A2FC0 #C02FBE
triadic
#7A2FC0 #C07A2F #2FC07A
tetradic
#7A2FC0 #C0312F #75C02F #2FBEC0
square
#7A2FC0 #C0312F #75C02F #2FBEC0
split-complementary
#7A2FC0 #BEC02F #2FC031
monochromatic
#3C175E #5B238F #7A2FC0 #9856D6 #B688E2

Accessibility & contrast

On white

7.01
#7A2FC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7A2FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A2FC0
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2FC0#FFFFFF#000000##FFFFFF
##7A2FC01.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#6B5476
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a2fc0;
/* rgb */ color: rgb(122, 47, 192);
/* oklch */ color: oklch(49.0% 0.211 302.6);
Tailwind
colors: {
  custom: {
    50: '#a76fd4',
    500: '#7a2fc0',
    950: '#000000',
  },
}
SCSS
$custom: #7a2fc0;
$custom-light: #a76fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2fc0",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 192
  },
  "hsl": {
    "h": 271.034,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49003,
    "c": 0.21118,
    "h": 302.6
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

primary
#7A2FC0
secondary
#A4CB7F
accent
#E44491
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A2FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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