#7F35C3#7F35C3

#7F35C3 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.209 H 303.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7F35C3
RGBrgb(127, 53, 195)
HSLhsl(271, 57%, 49%)
HSVhsv(271, 73%, 76%)
CMYKcmyk(34.9%, 72.8%, 0%, 23.5%)
CIE-LABlab(39.58, 57.21, -61.20)
CIE-LCHlch(39.58, 83.77, 313.07°)
OKLaboklab(50.47% 0.1147 -0.1743)
OKLCHoklch(50.47% 0.209 303.4)
XYZxyz(19.8735, 10.9984, 52.6951)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F35C3 #79C335
analogous
#3835C3 #7F35C3 #C335C0
triadic
#7F35C3 #C37F35 #35C37F
tetradic
#7F35C3 #C33835 #79C335 #35C0C3
square
#7F35C3 #C33835 #79C335 #35C0C3
split-complementary
#7F35C3 #C0C335 #35C338
monochromatic
#401B63 #602893 #7F35C3 #9D61D4 #BB91E1

Accessibility & contrast

On white

6.56
#7F35C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7F35C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F35C3
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F35C3#FFFFFF#000000##FFFFFF
##7F35C31.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#715879
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f35c3;
/* rgb */ color: rgb(127, 53, 195);
/* oklch */ color: oklch(50.5% 0.209 303.4);
Tailwind
colors: {
  custom: {
    50: '#aa73d6',
    500: '#7f35c3',
    950: '#000000',
  },
}
SCSS
$custom: #7f35c3;
$custom-light: #aa73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f35c3",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 271.268,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50471,
    "c": 0.20867,
    "h": 303.4
  },
  "luminance": 0.10998
}

Semantic roles & 50–950 ramp

primary
#7F35C3
secondary
#A8CC88
accent
#E14791
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F35C3

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

Preview Lab → · Contrast checker → · Palette generator →

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