#7F43C7#7F43C7

#7F43C7 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.5% C 0.196 H 300.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7F43C7
RGBrgb(127, 67, 199)
HSLhsl(267, 54%, 52%)
HSVhsv(267, 66%, 78%)
CMYKcmyk(36.2%, 66.3%, 0%, 22%)
CIE-LABlab(42.23, 51.59, -59.22)
CIE-LCHlch(42.23, 78.54, 311.06°)
OKLaboklab(52.46% 0.0998 -0.1686)
OKLCHoklch(52.46% 0.196 300.6)
XYZxyz(21.0658, 12.6497, 55.3536)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F43C7 #8BC743
analogous
#4349C7 #7F43C7 #C143C7
triadic
#7F43C7 #C77F43 #43C77F
tetradic
#7F43C7 #C74349 #8BC743 #43C7C1
square
#7F43C7 #C74349 #8BC743 #43C7C1
split-complementary
#7F43C7 #C7C143 #49C743
monochromatic
#44216F #612F9E #7F43C7 #9F72D5 #BFA1E3

Accessibility & contrast

On white

5.95
#7F43C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7F43C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F43C7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F43C7#FFFFFF#000000##FFFFFF
##7F43C71.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#6F617F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f43c7;
/* rgb */ color: rgb(127, 67, 199);
/* oklch */ color: oklch(52.5% 0.196 300.6);
Tailwind
colors: {
  custom: {
    50: '#a97bd9',
    500: '#7f43c7',
    950: '#000000',
  },
}
SCSS
$custom: #7f43c7;
$custom-light: #a97bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f43c7",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 199
  },
  "hsl": {
    "h": 267.273,
    "s": 54.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52455,
    "c": 0.19591,
    "h": 300.6
  },
  "luminance": 0.1265
}

Semantic roles & 50–950 ramp

primary
#7F43C7
secondary
#B6D096
accent
#DD4A9B
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F43C7

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

Preview Lab → · Contrast checker → · Palette generator →

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