#7A41B2#7A41B2

#7A41B2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.1% C 0.174 H 304.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7A41B2
RGBrgb(122, 65, 178)
HSLhsl(270, 47%, 48%)
HSVhsv(270, 63%, 70%)
CMYKcmyk(31.5%, 63.5%, 0%, 30.2%)
CIE-LABlab(39.80, 46.34, -50.88)
CIE-LCHlch(39.80, 68.82, 312.33°)
OKLaboklab(50.11% 0.0972 -0.1442)
OKLCHoklch(50.11% 0.174 304)
XYZxyz(17.9504, 11.1326, 43.3140)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A41B2 #79B241
analogous
#4141B2 #7A41B2 #B241B2
triadic
#7A41B2 #B27A41 #41B27A
tetradic
#7A41B2 #B24141 #79B241 #41B2B2
square
#7A41B2 #B24141 #79B241 #41B2B2
split-complementary
#7A41B2 #B2B241 #41B241
monochromatic
#3D2058 #5B3185 #7A41B2 #9968C8 #B795D8

Accessibility & contrast

On white

6.51
#7A41B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7A41B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A41B2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A41B2#FFFFFF#000000##FFFFFF
##7A41B21.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#215EAF
Tritanopia (blue-blind)
#705973
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a41b2;
/* rgb */ color: rgb(122, 65, 178);
/* oklch */ color: oklch(50.1% 0.174 304.0);
Tailwind
colors: {
  custom: {
    50: '#a479ca',
    500: '#7a41b2',
    950: '#000000',
  },
}
SCSS
$custom: #7a41b2;
$custom-light: #a479ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7a41b2",
  "rgb": {
    "r": 122,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 270.265,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5011,
    "c": 0.17389,
    "h": 304
  },
  "luminance": 0.11133
}

Semantic roles & 50–950 ramp

primary
#7A41B2
secondary
#A7C48B
accent
#D65293
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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