#7A43BB#7A43BB

#7A43BB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.181 H 301.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7A43BB
RGBrgb(122, 67, 187)
HSLhsl(268, 47%, 50%)
HSVhsv(268, 64%, 73%)
CMYKcmyk(34.8%, 64.2%, 0%, 26.7%)
CIE-LABlab(40.80, 47.53, -54.57)
CIE-LCHlch(40.80, 72.37, 311.06°)
OKLaboklab(51.03% 0.0942 -0.155)
OKLCHoklch(51.03% 0.181 301.3)
XYZxyz(19.0007, 11.7396, 48.2690)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A43BB #84BB43
analogous
#4348BB #7A43BB #B643BB
triadic
#7A43BB #BB7A43 #43BB7A
tetradic
#7A43BB #BB4348 #84BB43 #43BBB6
square
#7A43BB #BB4348 #84BB43 #43BBB6
split-complementary
#7A43BB #BBB643 #48BB43
monochromatic
#3F2361 #5D338E #7A43BB #9A70CC #BA9DDC

Accessibility & contrast

On white

6.27
#7A43BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7A43BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A43BB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A43BB#FFFFFF#000000##FFFFFF
##7A43BB1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#1360B8
Tritanopia (blue-blind)
#6C5D79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a43bb;
/* rgb */ color: rgb(122, 67, 187);
/* oklch */ color: oklch(51.0% 0.181 301.3);
Tailwind
colors: {
  custom: {
    50: '#a57ad0',
    500: '#7a43bb',
    950: '#000000',
  },
}
SCSS
$custom: #7a43bb;
$custom-light: #a57ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a43bb",
  "rgb": {
    "r": 122,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 267.5,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51025,
    "c": 0.18142,
    "h": 301.3
  },
  "luminance": 0.1174
}

Semantic roles & 50–950 ramp

primary
#7A43BB
secondary
#AFC892
accent
#D75199
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A43BB

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

Preview Lab → · Contrast checker → · Palette generator →

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