#7F43C5#7F43C5

#7F43C5 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.194 H 301.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7F43C5
RGBrgb(127, 67, 197)
HSLhsl(268, 53%, 52%)
HSVhsv(268, 66%, 77%)
CMYKcmyk(35.5%, 66%, 0%, 22.7%)
CIE-LABlab(42.09, 51.10, -58.29)
CIE-LCHlch(42.09, 77.52, 311.24°)
OKLaboklab(52.31% 0.1 -0.1658)
OKLCHoklch(52.31% 0.194 301.1)
XYZxyz(20.8352, 12.5574, 54.1386)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F43C5 #89C543
analogous
#4348C5 #7F43C5 #C043C5
triadic
#7F43C5 #C57F43 #43C57F
tetradic
#7F43C5 #C54348 #89C543 #43C5C0
square
#7F43C5 #C54348 #89C543 #43C5C0
split-complementary
#7F43C5 #C5C043 #48C543
monochromatic
#44216C #61309B #7F43C5 #9F72D3 #BFA1E2

Accessibility & contrast

On white

5.98
#7F43C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7F43C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F43C5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F43C5#FFFFFF#000000##FFFFFF
##7F43C51.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0063C2
Tritanopia (blue-blind)
#70607E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7f43c5;
/* rgb */ color: rgb(127, 67, 197);
/* oklch */ color: oklch(52.3% 0.194 301.1);
Tailwind
colors: {
  custom: {
    50: '#a97bd7',
    500: '#7f43c5',
    950: '#000000',
  },
}
SCSS
$custom: #7f43c5;
$custom-light: #a97bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f43c5",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 197
  },
  "hsl": {
    "h": 267.692,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.19367,
    "h": 301.1
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#7F43C5
secondary
#B4CE95
accent
#DC4C99
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7F43C5

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

Preview Lab → · Contrast checker → · Palette generator →

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