#7B43D4#7B43D4

#7B43D4 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.210 H 296.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7B43D4
RGBrgb(123, 67, 212)
HSLhsl(263, 63%, 55%)
HSVhsv(263, 68%, 83%)
CMYKcmyk(42%, 68.4%, 0%, 16.9%)
CIE-LABlab(42.73, 54.11, -65.94)
CIE-LCHlch(42.73, 85.30, 309.37°)
OKLaboklab(53.01% 0.0925 -0.1884)
OKLCHoklch(53.01% 0.21 296.2)
XYZxyz(22.0561, 12.9783, 63.6176)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B43D4 #9CD443
analogous
#4354D4 #7B43D4 #C343D4
triadic
#7B43D4 #D47B43 #43D47B
tetradic
#7B43D4 #D44354 #9CD443 #43D4C3
square
#7B43D4 #D44354 #9CD443 #43D4C3
split-complementary
#7B43D4 #D4C343 #54D443
monochromatic
#431D7F #5D29B1 #7B43D4 #9E75DF #C1A7EB

Accessibility & contrast

On white

5.84
#7B43D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7B43D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B43D4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B43D4#FFFFFF#000000##FFFFFF
##7B43D41.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#0063D1
Tritanopia (blue-blind)
#646686
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b43d4;
/* rgb */ color: rgb(123, 67, 212);
/* oklch */ color: oklch(53.0% 0.210 296.2);
Tailwind
colors: {
  custom: {
    50: '#a87be2',
    500: '#7b43d4',
    950: '#000000',
  },
}
SCSS
$custom: #7b43d4;
$custom-light: #a87be2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b43d4",
  "rgb": {
    "r": 123,
    "g": 67,
    "b": 212
  },
  "hsl": {
    "h": 263.172,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53011,
    "c": 0.20994,
    "h": 296.2
  },
  "luminance": 0.12979
}

Semantic roles & 50–950 ramp

primary
#7B43D4
secondary
#C0D89B
accent
#E642A7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7B43D4

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

Preview Lab → · Contrast checker → · Palette generator →

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