#7A43BC#7A43BC

#7A43BC is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.183 H 301.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7A43BC
RGBrgb(122, 67, 188)
HSLhsl(267, 47%, 50%)
HSVhsv(267, 64%, 74%)
CMYKcmyk(35.1%, 64.4%, 0%, 26.3%)
CIE-LABlab(40.87, 47.78, -55.04)
CIE-LCHlch(40.87, 72.89, 310.96°)
OKLaboklab(51.1% 0.0941 -0.1564)
OKLCHoklch(51.1% 0.183 301)
XYZxyz(19.1081, 11.7826, 48.8348)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A43BC #85BC43
analogous
#4348BC #7A43BC #B743BC
triadic
#7A43BC #BC7A43 #43BC7A
tetradic
#7A43BC #BC4348 #85BC43 #43BCB7
square
#7A43BC #BC4348 #85BC43 #43BCB7
split-complementary
#7A43BC #BCB743 #48BC43
monochromatic
#3F2362 #5D338F #7A43BC #9A70CC #BA9DDC

Accessibility & contrast

On white

6.26
#7A43BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7A43BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A43BC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A43BC#FFFFFF#000000##FFFFFF
##7A43BC1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#1060B9
Tritanopia (blue-blind)
#6C5E79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a43bc;
/* rgb */ color: rgb(122, 67, 188);
/* oklch */ color: oklch(51.1% 0.183 301.0);
Tailwind
colors: {
  custom: {
    50: '#a57ad1',
    500: '#7a43bc',
    950: '#000000',
  },
}
SCSS
$custom: #7a43bc;
$custom-light: #a57ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a43bc",
  "rgb": {
    "r": 122,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 267.273,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.51097,
    "c": 0.18257,
    "h": 301
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

primary
#7A43BC
secondary
#B0C992
accent
#D7519A
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A43BC

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

Preview Lab → · Contrast checker → · Palette generator →

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