#7D43B2#7D43B2

#7D43B2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.172 H 305.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7D43B2
RGBrgb(125, 67, 178)
HSLhsl(271, 45%, 48%)
HSVhsv(271, 62%, 70%)
CMYKcmyk(29.8%, 62.4%, 0%, 30.2%)
CIE-LABlab(40.55, 45.99, -49.65)
CIE-LCHlch(40.55, 67.68, 312.81°)
OKLaboklab(50.74% 0.0988 -0.1405)
OKLCHoklch(50.74% 0.172 305.1)
XYZxyz(18.4987, 11.5887, 43.3732)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D43B2 #78B243
analogous
#4543B2 #7D43B2 #B243AF
triadic
#7D43B2 #B27D43 #43B27D
tetradic
#7D43B2 #B24543 #78B243 #43AFB2
square
#7D43B2 #B24543 #78B243 #43AFB2
split-complementary
#7D43B2 #AFB243 #43B245
monochromatic
#3F2259 #5E3286 #7D43B2 #9B6BC7 #B997D8

Accessibility & contrast

On white

6.33
#7D43B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7D43B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D43B2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D43B2#FFFFFF#000000##FFFFFF
##7D43B21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#2960AF
Tritanopia (blue-blind)
#745A74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d43b2;
/* rgb */ color: rgb(125, 67, 178);
/* oklch */ color: oklch(50.7% 0.172 305.1);
Tailwind
colors: {
  custom: {
    50: '#a67aca',
    500: '#7d43b2',
    950: '#000000',
  },
}
SCSS
$custom: #7d43b2;
$custom-light: #a67aca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d43b2",
  "rgb": {
    "r": 125,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 271.351,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50736,
    "c": 0.17176,
    "h": 305.1
  },
  "luminance": 0.11589
}

Semantic roles & 50–950 ramp

primary
#7D43B2
secondary
#A7C48D
accent
#D55391
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D43B2

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

Preview Lab → · Contrast checker → · Palette generator →

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