#7F43C3#7F43C3

#7F43C3 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.191 H 301.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7F43C3
RGBrgb(127, 67, 195)
HSLhsl(268, 52%, 51%)
HSVhsv(268, 66%, 76%)
CMYKcmyk(34.9%, 65.6%, 0%, 23.5%)
CIE-LABlab(41.95, 50.60, -57.36)
CIE-LCHlch(41.95, 76.49, 311.42°)
OKLaboklab(52.16% 0.1003 -0.1631)
OKLCHoklch(52.16% 0.191 301.6)
XYZxyz(20.6075, 12.4664, 52.9398)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F43C3 #87C343
analogous
#4347C3 #7F43C3 #BF43C3
triadic
#7F43C3 #C37F43 #43C37F
tetradic
#7F43C3 #C34347 #87C343 #43C3BF
square
#7F43C3 #C34347 #87C343 #43C3BF
split-complementary
#7F43C3 #C3BF43 #47C343
monochromatic
#44226A #613198 #7F43C3 #9F71D2 #BEA0E1

Accessibility & contrast

On white

6.01
#7F43C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7F43C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F43C3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F43C3#FFFFFF#000000##FFFFFF
##7F43C31.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#0662C0
Tritanopia (blue-blind)
#71607D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7f43c3;
/* rgb */ color: rgb(127, 67, 195);
/* oklch */ color: oklch(52.2% 0.191 301.6);
Tailwind
colors: {
  custom: {
    50: '#a97bd6',
    500: '#7f43c3',
    950: '#000000',
  },
}
SCSS
$custom: #7f43c3;
$custom-light: #a97bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f43c3",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 195
  },
  "hsl": {
    "h": 268.125,
    "s": 51.613,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52162,
    "c": 0.19143,
    "h": 301.6
  },
  "luminance": 0.12466
}

Semantic roles & 50–950 ramp

primary
#7F43C3
secondary
#B3CD95
accent
#DB4D98
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7F43C3

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

Preview Lab → · Contrast checker → · Palette generator →

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