#7A2FC8#7A2FC8

#7A2FC8 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.7% C 0.219 H 300.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7A2FC8
RGBrgb(122, 47, 200)
HSLhsl(269, 62%, 48%)
HSVhsv(269, 77%, 78%)
CMYKcmyk(39%, 76.5%, 0%, 21.6%)
CIE-LABlab(38.45, 60.04, -65.99)
CIE-LCHlch(38.45, 89.21, 312.30°)
OKLaboklab(49.66% 0.1119 -0.1885)
OKLCHoklch(49.66% 0.219 300.7)
XYZxyz(19.4653, 10.3406, 55.6028)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2FC8 #7DC82F
analogous
#2F30C8 #7A2FC8 #C62FC8
triadic
#7A2FC8 #C87A2F #2FC87A
tetradic
#7A2FC8 #C82F30 #7DC82F #2FC8C6
square
#7A2FC8 #C82F30 #7DC82F #2FC8C6
split-complementary
#7A2FC8 #C8C62F #30C82F
monochromatic
#3E1865 #5C2396 #7A2FC8 #995CD9 #B88DE4

Accessibility & contrast

On white

6.84
#7A2FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7A2FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A2FC8
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2FC8#FFFFFF#000000##FFFFFF
##7A2FC81.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#68587A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a2fc8;
/* rgb */ color: rgb(122, 47, 200);
/* oklch */ color: oklch(49.7% 0.219 300.7);
Tailwind
colors: {
  custom: {
    50: '#a770da',
    500: '#7a2fc8',
    950: '#000000',
  },
}
SCSS
$custom: #7a2fc8;
$custom-light: #a770da;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2fc8",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 200
  },
  "hsl": {
    "h": 269.412,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49658,
    "c": 0.21922,
    "h": 300.7
  },
  "luminance": 0.10341
}

Semantic roles & 50–950 ramp

primary
#7A2FC8
secondary
#AACF84
accent
#E54395
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7A2FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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