#7F43BB#7F43BB

#7F43BB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.182 H 303.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7F43BB
RGBrgb(127, 67, 187)
HSLhsl(270, 47%, 50%)
HSVhsv(270, 64%, 73%)
CMYKcmyk(32.1%, 64.2%, 0%, 26.7%)
CIE-LABlab(41.40, 48.64, -53.57)
CIE-LCHlch(41.40, 72.36, 312.23°)
OKLaboklab(51.59% 0.101 -0.152)
OKLCHoklch(51.59% 0.182 303.6)
XYZxyz(19.7271, 12.1142, 48.3031)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F43BB #7FBB43
analogous
#4343BB #7F43BB #BB43BB
triadic
#7F43BB #BB7F43 #43BB7F
tetradic
#7F43BB #BB4343 #7FBB43 #43BBBB
square
#7F43BB #BB4343 #7FBB43 #43BBBB
split-complementary
#7F43BB #BBBB43 #43BB43
monochromatic
#422361 #60338E #7F43BB #9E70CC #BC9DDC

Accessibility & contrast

On white

6.14
#7F43BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7F43BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F43BB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F43BB#FFFFFF#000000##FFFFFF
##7F43BB1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#1E61B8
Tritanopia (blue-blind)
#745D79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7f43bb;
/* rgb */ color: rgb(127, 67, 187);
/* oklch */ color: oklch(51.6% 0.182 303.6);
Tailwind
colors: {
  custom: {
    50: '#a87bd0',
    500: '#7f43bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f43bb;
$custom-light: #a87bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f43bb",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 270,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5159,
    "c": 0.18244,
    "h": 303.6
  },
  "luminance": 0.12114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F43BB

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

Preview Lab → · Contrast checker → · Palette generator →

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