#7F35C0#7F35C0

#7F35C0 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.2% C 0.206 H 304.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7F35C0
RGBrgb(127, 53, 192)
HSLhsl(272, 57%, 48%)
HSVhsv(272, 72%, 75%)
CMYKcmyk(33.9%, 72.4%, 0%, 24.7%)
CIE-LABlab(39.35, 56.51, -59.82)
CIE-LCHlch(39.35, 82.28, 313.37°)
OKLaboklab(50.24% 0.1153 -0.1702)
OKLCHoklch(50.24% 0.206 304.1)
XYZxyz(19.5377, 10.8641, 50.9266)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F35C0 #76C035
analogous
#3935C0 #7F35C0 #C035BC
triadic
#7F35C0 #C07F35 #35C07F
tetradic
#7F35C0 #C03935 #76C035 #35BCC0
square
#7F35C0 #C03935 #76C035 #35BCC0
split-complementary
#7F35C0 #BCC035 #35C039
monochromatic
#401B60 #5F2890 #7F35C0 #9D5FD3 #BA8FE0

Accessibility & contrast

On white

6.62
#7F35C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7F35C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F35C0
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F35C0#FFFFFF#000000##FFFFFF
##7F35C01.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#725777
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f35c0;
/* rgb */ color: rgb(127, 53, 192);
/* oklch */ color: oklch(50.2% 0.206 304.1);
Tailwind
colors: {
  custom: {
    50: '#aa73d4',
    500: '#7f35c0',
    950: '#000000',
  },
}
SCSS
$custom: #7f35c0;
$custom-light: #aa73d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f35c0",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 192
  },
  "hsl": {
    "h": 271.942,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50239,
    "c": 0.2056,
    "h": 304.1
  },
  "luminance": 0.10864
}

Semantic roles & 50–950 ramp

primary
#7F35C0
secondary
#A6CB86
accent
#E0488F
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F35C0

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

Preview Lab → · Contrast checker → · Palette generator →

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