#7A2FC9#7A2FC9

#7A2FC9 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.220 H 300.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7A2FC9
RGBrgb(122, 47, 201)
HSLhsl(269, 62%, 49%)
HSVhsv(269, 77%, 79%)
CMYKcmyk(39.3%, 76.6%, 0%, 21.2%)
CIE-LABlab(38.53, 60.27, -66.43)
CIE-LCHlch(38.53, 89.70, 312.22°)
OKLaboklab(49.74% 0.1116 -0.1898)
OKLCHoklch(49.74% 0.22 300.5)
XYZxyz(19.5825, 10.3875, 56.2203)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2FC9 #7EC92F
analogous
#2F31C9 #7A2FC9 #C72FC9
triadic
#7A2FC9 #C97A2F #2FC97A
tetradic
#7A2FC9 #C92F31 #7EC92F #2FC9C7
square
#7A2FC9 #C92F31 #7EC92F #2FC9C7
split-complementary
#7A2FC9 #C9C72F #31C92F
monochromatic
#3E1866 #5C2397 #7A2FC9 #995CD9 #B88EE5

Accessibility & contrast

On white

6.82
#7A2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7A2FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A2FC9
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2FC9#FFFFFF#000000##FFFFFF
##7A2FC91.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#68587B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a2fc9;
/* rgb */ color: rgb(122, 47, 201);
/* oklch */ color: oklch(49.7% 0.220 300.5);
Tailwind
colors: {
  custom: {
    50: '#a770da',
    500: '#7a2fc9',
    950: '#000000',
  },
}
SCSS
$custom: #7a2fc9;
$custom-light: #a770da;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2fc9",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 269.221,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49741,
    "c": 0.22022,
    "h": 300.5
  },
  "luminance": 0.10388
}

Semantic roles & 50–950 ramp

primary
#7A2FC9
secondary
#ABCF85
accent
#E54396
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7A2FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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