#7D43B3#7D43B3

#7D43B3 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.173 H 304.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7D43B3
RGBrgb(125, 67, 179)
HSLhsl(271, 46%, 48%)
HSVhsv(271, 63%, 70%)
CMYKcmyk(30.2%, 62.6%, 0%, 29.8%)
CIE-LABlab(40.62, 46.23, -50.13)
CIE-LCHlch(40.62, 68.20, 312.68°)
OKLaboklab(50.8% 0.0988 -0.1419)
OKLCHoklch(50.8% 0.173 304.8)
XYZxyz(18.5995, 11.6291, 43.9039)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D43B3 #79B343
analogous
#4543B3 #7D43B3 #B343B1
triadic
#7D43B3 #B37D43 #43B37D
tetradic
#7D43B3 #B34543 #79B343 #43B1B3
square
#7D43B3 #B34543 #79B343 #43B1B3
split-complementary
#7D43B3 #B1B343 #43B345
monochromatic
#3F225A #5E3286 #7D43B3 #9B6BC8 #B998D8

Accessibility & contrast

On white

6.31
#7D43B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7D43B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D43B3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D43B3#FFFFFF#000000##FFFFFF
##7D43B31.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#2860B0
Tritanopia (blue-blind)
#735A75
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d43b3;
/* rgb */ color: rgb(125, 67, 179);
/* oklch */ color: oklch(50.8% 0.173 304.8);
Tailwind
colors: {
  custom: {
    50: '#a67aca',
    500: '#7d43b3',
    950: '#000000',
  },
}
SCSS
$custom: #7d43b3;
$custom-light: #a67aca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d43b3",
  "rgb": {
    "r": 125,
    "g": 67,
    "b": 179
  },
  "hsl": {
    "h": 271.071,
    "s": 45.528,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50804,
    "c": 0.1729,
    "h": 304.8
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

primary
#7D43B3
secondary
#A8C48D
accent
#D55392
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D43B3

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

Preview Lab → · Contrast checker → · Palette generator →

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