#7F43BC#7F43BC

#7F43BC is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.184 H 303.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7F43BC
RGBrgb(127, 67, 188)
HSLhsl(270, 47%, 50%)
HSVhsv(270, 64%, 74%)
CMYKcmyk(32.4%, 64.4%, 0%, 26.3%)
CIE-LABlab(41.46, 48.88, -54.05)
CIE-LCHlch(41.46, 72.87, 312.12°)
OKLaboklab(51.66% 0.1009 -0.1534)
OKLCHoklch(51.66% 0.184 303.3)
XYZxyz(19.8346, 12.1572, 48.8688)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F43BC #80BC43
analogous
#4344BC #7F43BC #BB43BC
triadic
#7F43BC #BC7F43 #43BC7F
tetradic
#7F43BC #BC4344 #80BC43 #43BCBB
square
#7F43BC #BC4344 #80BC43 #43BCBB
split-complementary
#7F43BC #BCBB43 #44BC43
monochromatic
#422362 #61338F #7F43BC #9E70CC #BC9DDC

Accessibility & contrast

On white

6.12
#7F43BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7F43BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F43BC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F43BC#FFFFFF#000000##FFFFFF
##7F43BC1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#1C62B9
Tritanopia (blue-blind)
#735D79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7f43bc;
/* rgb */ color: rgb(127, 67, 188);
/* oklch */ color: oklch(51.7% 0.184 303.3);
Tailwind
colors: {
  custom: {
    50: '#a87bd1',
    500: '#7f43bc',
    950: '#000000',
  },
}
SCSS
$custom: #7f43bc;
$custom-light: #a87bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f43bc",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 269.752,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.51661,
    "c": 0.18356,
    "h": 303.3
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#7F43BC
secondary
#AEC992
accent
#D75194
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7F43BC

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

Preview Lab → · Contrast checker → · Palette generator →

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