#7A1EC9#7A1EC9

#7A1EC9 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.3% C 0.234 H 301.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7A1EC9
RGBrgb(122, 30, 201)
HSLhsl(272, 74%, 45%)
HSVhsv(272, 85%, 79%)
CMYKcmyk(39.3%, 85.1%, 0%, 21.2%)
CIE-LABlab(36.52, 66.11, -69.72)
CIE-LCHlch(36.52, 96.08, 313.48°)
OKLaboklab(48.35% 0.1235 -0.1993)
OKLCHoklch(48.35% 0.234 301.8)
XYZxyz(19.0303, 9.2831, 56.0362)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1EC9 #6DC91E
analogous
#251EC9 #7A1EC9 #C91EC2
triadic
#7A1EC9 #C97A1E #1EC97A
tetradic
#7A1EC9 #C9251E #6DC91E #1EC2C9
square
#7A1EC9 #C9251E #6DC91E #1EC2C9
split-complementary
#7A1EC9 #C2C91E #1EC925
monochromatic
#390E5E #5A1694 #7A1EC9 #9841E3 #B577EB

Accessibility & contrast

On white

7.35
#7A1EC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7A1EC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1EC9
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1EC9#FFFFFF#000000##FFFFFF
##7A1EC91.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#685178
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a1ec9;
/* rgb */ color: rgb(122, 30, 201);
/* oklch */ color: oklch(48.3% 0.234 301.8);
Tailwind
colors: {
  custom: {
    50: '#a869db',
    500: '#7a1ec9',
    950: '#000000',
  },
}
SCSS
$custom: #7a1ec9;
$custom-light: #a869db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1ec9",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 201
  },
  "hsl": {
    "h": 272.281,
    "s": 74.026,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48349,
    "c": 0.23448,
    "h": 301.8
  },
  "luminance": 0.09283
}

Semantic roles & 50–950 ramp

primary
#7A1EC9
secondary
#9ED271
accent
#F1378D
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110715
muted
#807A83

Preview Lab

Preview with #7A1EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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