#7F43D5#7F43D5

#7F43D5 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.211 H 297.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7F43D5
RGBrgb(127, 67, 213)
HSLhsl(265, 63%, 55%)
HSVhsv(265, 69%, 84%)
CMYKcmyk(40.4%, 68.5%, 0%, 16.5%)
CIE-LABlab(43.26, 55.11, -65.64)
CIE-LCHlch(43.26, 85.70, 310.01°)
OKLaboklab(53.51% 0.0979 -0.1874)
OKLCHoklch(53.51% 0.211 297.6)
XYZxyz(22.7667, 13.3300, 64.3114)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F43D5 #99D543
analogous
#4350D5 #7F43D5 #C843D5
triadic
#7F43D5 #D57F43 #43D57F
tetradic
#7F43D5 #D54350 #99D543 #43D5C8
square
#7F43D5 #D54350 #99D543 #43D5C8
split-complementary
#7F43D5 #D5C843 #50D543
monochromatic
#461D81 #6128B3 #7F43D5 #A175E0 #C3A7EB

Accessibility & contrast

On white

5.73
#7F43D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7F43D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F43D5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F43D5#FFFFFF#000000##FFFFFF
##7F43D51.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#6A6687
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7f43d5;
/* rgb */ color: rgb(127, 67, 213);
/* oklch */ color: oklch(53.5% 0.211 297.6);
Tailwind
colors: {
  custom: {
    50: '#ab7be3',
    500: '#7f43d5',
    950: '#000000',
  },
}
SCSS
$custom: #7f43d5;
$custom-light: #ab7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f43d5",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 213
  },
  "hsl": {
    "h": 264.658,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53512,
    "c": 0.21146,
    "h": 297.6
  },
  "luminance": 0.1333
}

Semantic roles & 50–950 ramp

primary
#7F43D5
secondary
#BFD99B
accent
#E741A3
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7F43D5

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

Preview Lab → · Contrast checker → · Palette generator →

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