#7A43BE#7A43BE

#7A43BE is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.185 H 300.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7A43BE
RGBrgb(122, 67, 190)
HSLhsl(267, 49%, 50%)
HSVhsv(267, 65%, 75%)
CMYKcmyk(35.8%, 64.7%, 0%, 25.5%)
CIE-LABlab(41.01, 48.29, -55.99)
CIE-LCHlch(41.01, 73.94, 310.78°)
OKLaboklab(51.24% 0.0939 -0.1592)
OKLCHoklch(51.24% 0.185 300.5)
XYZxyz(19.3252, 11.8695, 49.9781)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A43BE #87BE43
analogous
#4349BE #7A43BE #B743BE
triadic
#7A43BE #BE7A43 #43BE7A
tetradic
#7A43BE #BE4349 #87BE43 #43BEB7
square
#7A43BE #BE4349 #87BE43 #43BEB7
split-complementary
#7A43BE #BEB743 #49BE43
monochromatic
#402364 #5D3291 #7A43BE #9A70CE #BA9EDD

Accessibility & contrast

On white

6.22
#7A43BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7A43BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A43BE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A43BE#FFFFFF#000000##FFFFFF
##7A43BE1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0860BB
Tritanopia (blue-blind)
#6B5E7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7a43be;
/* rgb */ color: rgb(122, 67, 190);
/* oklch */ color: oklch(51.2% 0.185 300.5);
Tailwind
colors: {
  custom: {
    50: '#a57ad2',
    500: '#7a43be',
    950: '#000000',
  },
}
SCSS
$custom: #7a43be;
$custom-light: #a57ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a43be",
  "rgb": {
    "r": 122,
    "g": 67,
    "b": 190
  },
  "hsl": {
    "h": 266.829,
    "s": 48.617,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51242,
    "c": 0.18486,
    "h": 300.5
  },
  "luminance": 0.1187
}

Semantic roles & 50–950 ramp

primary
#7A43BE
secondary
#B1CA93
accent
#D8509B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A43BE

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

Preview Lab → · Contrast checker → · Palette generator →

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