#7F43C4#7F43C4

#7F43C4 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.193 H 301.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7F43C4
RGBrgb(127, 67, 196)
HSLhsl(268, 52%, 52%)
HSVhsv(268, 66%, 77%)
CMYKcmyk(35.2%, 65.8%, 0%, 23.1%)
CIE-LABlab(42.02, 50.85, -57.82)
CIE-LCHlch(42.02, 77.00, 311.33°)
OKLaboklab(52.24% 0.1002 -0.1645)
OKLCHoklch(52.24% 0.193 301.3)
XYZxyz(20.7210, 12.5118, 53.5372)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F43C4 #88C443
analogous
#4348C4 #7F43C4 #C043C4
triadic
#7F43C4 #C47F43 #43C47F
tetradic
#7F43C4 #C44348 #88C443 #43C4C0
square
#7F43C4 #C44348 #88C443 #43C4C0
split-complementary
#7F43C4 #C4C043 #48C443
monochromatic
#44226B #61309A #7F43C4 #9F72D3 #BEA0E1

Accessibility & contrast

On white

6.00
#7F43C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7F43C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F43C4
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F43C4#FFFFFF#000000##FFFFFF
##7F43C41.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0162C1
Tritanopia (blue-blind)
#70607E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7f43c4;
/* rgb */ color: rgb(127, 67, 196);
/* oklch */ color: oklch(52.2% 0.193 301.3);
Tailwind
colors: {
  custom: {
    50: '#a97bd7',
    500: '#7f43c4',
    950: '#000000',
  },
}
SCSS
$custom: #7f43c4;
$custom-light: #a97bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f43c4",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 196
  },
  "hsl": {
    "h": 267.907,
    "s": 52.227,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52235,
    "c": 0.19255,
    "h": 301.3
  },
  "luminance": 0.12512
}

Semantic roles & 50–950 ramp

primary
#7F43C4
secondary
#B3CE95
accent
#DC4C99
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7F43C4

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

Preview Lab → · Contrast checker → · Palette generator →

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