#7A1CB3#7A1CB3

#7A1CB3 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.3% C 0.216 H 307.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7A1CB3
RGBrgb(122, 28, 179)
HSLhsl(277, 73%, 41%)
HSVhsv(277, 84%, 70%)
CMYKcmyk(31.8%, 84.4%, 0%, 29.8%)
CIE-LABlab(34.44, 61.93, -60.16)
CIE-LCHlch(34.44, 86.34, 315.83°)
OKLaboklab(46.33% 0.1318 -0.1713)
OKLCHoklch(46.33% 0.216 307.6)
XYZxyz(16.5762, 8.2230, 43.3530)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1CB3 #55B31C
analogous
#2E1CB3 #7A1CB3 #B31CA0
triadic
#7A1CB3 #B37A1C #1CB37A
tetradic
#7A1CB3 #B32E1C #55B31C #1CA0B3
square
#7A1CB3 #B32E1C #55B31C #1CA0B3
split-complementary
#7A1CB3 #A0B31C #1CB32E
monochromatic
#320B49 #56147E #7A1CB3 #9C2EDE #B563E7

Accessibility & contrast

On white

7.94
#7A1CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7A1CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1CB3
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1CB3#FFFFFF#000000##FFFFFF
##7A1CB31.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#70466B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a1cb3;
/* rgb */ color: rgb(122, 28, 179);
/* oklch */ color: oklch(46.3% 0.216 307.6);
Tailwind
colors: {
  custom: {
    50: '#a667cb',
    500: '#7a1cb3',
    950: '#000000',
  },
}
SCSS
$custom: #7a1cb3;
$custom-light: #a667cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1cb3",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 277.351,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46333,
    "c": 0.21614,
    "h": 307.6
  },
  "luminance": 0.08223
}

Semantic roles & 50–950 ramp

primary
#7A1CB3
secondary
#88CB5F
accent
#F0387D
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A1CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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