#7F43BF#7F43BF

#7F43BF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.187 H 302.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7F43BF
RGBrgb(127, 67, 191)
HSLhsl(269, 49%, 51%)
HSVhsv(269, 65%, 75%)
CMYKcmyk(33.5%, 64.9%, 0%, 25.1%)
CIE-LABlab(41.67, 49.61, -55.47)
CIE-LCHlch(41.67, 74.42, 311.81°)
OKLaboklab(51.87% 0.1006 -0.1575)
OKLCHoklch(51.87% 0.187 302.6)
XYZxyz(20.1613, 12.2879, 50.5898)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F43BF #83BF43
analogous
#4345BF #7F43BF #BD43BF
triadic
#7F43BF #BF7F43 #43BF7F
tetradic
#7F43BF #BF4345 #83BF43 #43BFBD
square
#7F43BF #BF4345 #83BF43 #43BFBD
split-complementary
#7F43BF #BFBD43 #45BF43
monochromatic
#432265 #613293 #7F43BF #9E71CF #BD9EDE

Accessibility & contrast

On white

6.07
#7F43BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7F43BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F43BF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F43BF#FFFFFF#000000##FFFFFF
##7F43BF1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#1562BC
Tritanopia (blue-blind)
#725E7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7f43bf;
/* rgb */ color: rgb(127, 67, 191);
/* oklch */ color: oklch(51.9% 0.187 302.6);
Tailwind
colors: {
  custom: {
    50: '#a97bd3',
    500: '#7f43bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f43bf;
$custom-light: #a97bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f43bf",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 191
  },
  "hsl": {
    "h": 269.032,
    "s": 49.206,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51874,
    "c": 0.18694,
    "h": 302.6
  },
  "luminance": 0.12288
}

Semantic roles & 50–950 ramp

primary
#7F43BF
secondary
#B0CA93
accent
#D94F96
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F43BF

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

Preview Lab → · Contrast checker → · Palette generator →

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