#7F35AF#7F35AF

#7F35AF is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.0% C 0.188 H 308.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7F35AF
RGBrgb(127, 53, 175)
HSLhsl(276, 54%, 45%)
HSVhsv(276, 70%, 69%)
CMYKcmyk(27.4%, 69.7%, 0%, 31.4%)
CIE-LABlab(38.12, 52.60, -51.79)
CIE-LCHlch(38.12, 73.81, 315.44°)
OKLaboklab(48.97% 0.1179 -0.1466)
OKLCHoklch(48.97% 0.188 308.8)
XYZxyz(17.7618, 10.1537, 41.5733)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F35AF #65AF35
analogous
#4235AF #7F35AF #AF35A2
triadic
#7F35AF #AF7F35 #35AF7F
tetradic
#7F35AF #AF4235 #65AF35 #35A2AF
square
#7F35AF #AF4235 #65AF35 #35A2AF
split-complementary
#7F35AF #A2AF35 #35AF42
monochromatic
#3B1951 #5D2780 #7F35AF #9D56CC #B885DA

Accessibility & contrast

On white

6.93
#7F35AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7F35AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F35AF
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F35AF#FFFFFF#000000##FFFFFF
##7F35AF1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#1B5BAC
Tritanopia (blue-blind)
#78506E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f35af;
/* rgb */ color: rgb(127, 53, 175);
/* oklch */ color: oklch(49.0% 0.188 308.8);
Tailwind
colors: {
  custom: {
    50: '#a872c8',
    500: '#7f35af',
    950: '#000000',
  },
}
SCSS
$custom: #7f35af;
$custom-light: #a872c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f35af",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 276.393,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48972,
    "c": 0.18816,
    "h": 308.8
  },
  "luminance": 0.10153
}

Semantic roles & 50–950 ramp

primary
#7F35AF
secondary
#98C47C
accent
#DD4B84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7F35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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