#7F35BC#7F35BC

#7F35BC is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.9% C 0.202 H 305.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7F35BC
RGBrgb(127, 53, 188)
HSLhsl(273, 56%, 47%)
HSVhsv(273, 72%, 74%)
CMYKcmyk(32.4%, 71.8%, 0%, 26.3%)
CIE-LABlab(39.05, 55.58, -57.95)
CIE-LCHlch(39.05, 80.30, 313.80°)
OKLaboklab(49.93% 0.116 -0.1648)
OKLCHoklch(49.93% 0.202 305.1)
XYZxyz(19.1006, 10.6892, 48.6242)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F35BC #72BC35
analogous
#3B35BC #7F35BC #BC35B6
triadic
#7F35BC #BC7F35 #35BC7F
tetradic
#7F35BC #BC3B35 #72BC35 #35B6BC
square
#7F35BC #BC3B35 #72BC35 #35B6BC
split-complementary
#7F35BC #B6BC35 #35BC3B
monochromatic
#3E1A5D #5F288C #7F35BC #9D5DD1 #BA8DDF

Accessibility & contrast

On white

6.69
#7F35BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7F35BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F35BC
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F35BC#FFFFFF#000000##FFFFFF
##7F35BC1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#745575
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f35bc;
/* rgb */ color: rgb(127, 53, 188);
/* oklch */ color: oklch(49.9% 0.202 305.1);
Tailwind
colors: {
  custom: {
    50: '#a973d1',
    500: '#7f35bc',
    950: '#000000',
  },
}
SCSS
$custom: #7f35bc;
$custom-light: #a973d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f35bc",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 272.889,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49933,
    "c": 0.2015,
    "h": 305.1
  },
  "luminance": 0.10689
}

Semantic roles & 50–950 ramp

primary
#7F35BC
secondary
#A3C984
accent
#DF488D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7F35BC

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

Preview Lab → · Contrast checker → · Palette generator →

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