#7F43BE#7F43BE

#7F43BE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.186 H 302.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7F43BE
RGBrgb(127, 67, 190)
HSLhsl(269, 49%, 50%)
HSVhsv(269, 65%, 75%)
CMYKcmyk(33.2%, 64.7%, 0%, 25.5%)
CIE-LABlab(41.60, 49.37, -55.00)
CIE-LCHlch(41.60, 73.91, 311.91°)
OKLaboklab(51.8% 0.1007 -0.1561)
OKLCHoklch(51.8% 0.186 302.8)
XYZxyz(20.0517, 12.2440, 50.0122)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F43BE #82BE43
analogous
#4344BE #7F43BE #BC43BE
triadic
#7F43BE #BE7F43 #43BE7F
tetradic
#7F43BE #BE4344 #82BE43 #43BEBC
square
#7F43BE #BE4344 #82BE43 #43BEBC
split-complementary
#7F43BE #BEBC43 #44BE43
monochromatic
#432364 #613291 #7F43BE #9E70CE #BD9EDD

Accessibility & contrast

On white

6.09
#7F43BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7F43BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F43BE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F43BE#FFFFFF#000000##FFFFFF
##7F43BE1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#1862BB
Tritanopia (blue-blind)
#735E7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7f43be;
/* rgb */ color: rgb(127, 67, 190);
/* oklch */ color: oklch(51.8% 0.186 302.8);
Tailwind
colors: {
  custom: {
    50: '#a97bd2',
    500: '#7f43be',
    950: '#000000',
  },
}
SCSS
$custom: #7f43be;
$custom-light: #a97bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f43be",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 190
  },
  "hsl": {
    "h": 269.268,
    "s": 48.617,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51802,
    "c": 0.18582,
    "h": 302.8
  },
  "luminance": 0.12244
}

Semantic roles & 50–950 ramp

primary
#7F43BE
secondary
#AFCA93
accent
#D85096
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F43BE

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

Preview Lab → · Contrast checker → · Palette generator →

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