#7F43AF#7F43AF

#7F43AF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.169 H 307.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7F43AF
RGBrgb(127, 67, 175)
HSLhsl(273, 45%, 47%)
HSVhsv(273, 62%, 69%)
CMYKcmyk(27.4%, 61.7%, 0%, 31.4%)
CIE-LABlab(40.61, 45.74, -47.78)
CIE-LCHlch(40.61, 66.14, 313.75°)
OKLaboklab(50.77% 0.1016 -0.1349)
OKLCHoklch(50.77% 0.169 307)
XYZxyz(18.4958, 11.6217, 41.8180)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F43AF #73AF43
analogous
#4943AF #7F43AF #AF43A9
triadic
#7F43AF #AF7F43 #43AF7F
tetradic
#7F43AF #AF4943 #73AF43 #43A9AF
square
#7F43AF #AF4943 #73AF43 #43A9AF
split-complementary
#7F43AF #A9AF43 #43AF49
monochromatic
#3F2156 #5F3283 #7F43AF #9D69C6 #BA96D7

Accessibility & contrast

On white

6.32
#7F43AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7F43AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F43AF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F43AF#FFFFFF#000000##FFFFFF
##7F43AF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5EB2
Deuteranopia (green-blind)
#2F60AD
Tritanopia (blue-blind)
#775973
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f43af;
/* rgb */ color: rgb(127, 67, 175);
/* oklch */ color: oklch(50.8% 0.169 307.0);
Tailwind
colors: {
  custom: {
    50: '#a77ac7',
    500: '#7f43af',
    950: '#000000',
  },
}
SCSS
$custom: #7f43af;
$custom-light: #a77ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f43af",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 273.333,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50767,
    "c": 0.1689,
    "h": 307
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#7F43AF
secondary
#A4C28B
accent
#D4538D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7F43AF

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

Preview Lab → · Contrast checker → · Palette generator →

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