#7F3CC3#7F3CC3

#7F3CC3 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.200 H 302.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7F3CC3
RGBrgb(127, 60, 195)
HSLhsl(270, 53%, 50%)
HSVhsv(270, 69%, 76%)
CMYKcmyk(34.9%, 69.2%, 0%, 23.5%)
CIE-LABlab(40.71, 54.03, -59.36)
CIE-LCHlch(40.71, 80.27, 312.31°)
OKLaboklab(51.27% 0.1078 -0.1689)
OKLCHoklch(51.27% 0.2 302.5)
XYZxyz(20.2163, 11.6838, 52.8093)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3CC3 #80C33C
analogous
#3C3CC3 #7F3CC3 #C33CC3
triadic
#7F3CC3 #C37F3C #3CC37F
tetradic
#7F3CC3 #C33C3C #80C33C #3CC3C3
square
#7F3CC3 #C33C3C #80C33C #3CC3C3
split-complementary
#7F3CC3 #C3C33C #3CC33C
monochromatic
#421F65 #612E94 #7F3CC3 #9E6BD1 #BC9AE0

Accessibility & contrast

On white

6.29
#7F3CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7F3CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3CC3
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3CC3#FFFFFF#000000##FFFFFF
##7F3CC31.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#715C7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f3cc3;
/* rgb */ color: rgb(127, 60, 195);
/* oklch */ color: oklch(51.3% 0.200 302.5);
Tailwind
colors: {
  custom: {
    50: '#a977d6',
    500: '#7f3cc3',
    950: '#000000',
  },
}
SCSS
$custom: #7f3cc3;
$custom-light: #a977d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3cc3",
  "rgb": {
    "r": 127,
    "g": 60,
    "b": 195
  },
  "hsl": {
    "h": 269.778,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.51274,
    "c": 0.2004,
    "h": 302.5
  },
  "luminance": 0.11684
}

Semantic roles & 50–950 ramp

primary
#7F3CC3
secondary
#AECC8F
accent
#DC4B94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F3CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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