#7B43BB#7B43BB

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

Color values

HEX#7B43BB
RGBrgb(123, 67, 187)
HSLhsl(268, 47%, 50%)
HSVhsv(268, 64%, 73%)
CMYKcmyk(34.2%, 64.2%, 0%, 26.7%)
CIE-LABlab(40.92, 47.75, -54.37)
CIE-LCHlch(40.92, 72.36, 311.29°)
OKLaboklab(51.14% 0.0956 -0.1544)
OKLCHoklch(51.14% 0.182 301.7)
XYZxyz(19.1431, 11.8131, 48.2757)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B43BB #83BB43
analogous
#4347BB #7B43BB #B743BB
triadic
#7B43BB #BB7B43 #43BB7B
tetradic
#7B43BB #BB4347 #83BB43 #43BBB7
square
#7B43BB #BB4347 #83BB43 #43BBB7
split-complementary
#7B43BB #BBB743 #47BB43
monochromatic
#402361 #5D338E #7B43BB #9B70CC #BA9DDC

Accessibility & contrast

On white

6.25
#7B43BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B43BB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B43BB#FFFFFF#000000##FFFFFF
##7B43BB1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b43bb;
/* rgb */ color: rgb(123, 67, 187);
/* oklch */ color: oklch(51.1% 0.182 301.7);
Tailwind
colors: {
  custom: {
    50: '#a67ad0',
    500: '#7b43bb',
    950: '#000000',
  },
}
SCSS
$custom: #7b43bb;
$custom-light: #a67ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b43bb",
  "rgb": {
    "r": 123,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 268,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51137,
    "c": 0.18161,
    "h": 301.7
  },
  "luminance": 0.11813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B43BB

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

Preview Lab → · Contrast checker → · Palette generator →

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