#7F35BA#7F35BA

#7F35BA is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.8% C 0.199 H 305.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7F35BA
RGBrgb(127, 53, 186)
HSLhsl(273, 56%, 47%)
HSVhsv(273, 72%, 73%)
CMYKcmyk(31.7%, 71.5%, 0%, 27.1%)
CIE-LABlab(38.90, 55.11, -57.02)
CIE-LCHlch(38.90, 79.30, 314.03°)
OKLaboklab(49.78% 0.1163 -0.162)
OKLCHoklch(49.78% 0.199 305.7)
XYZxyz(18.8865, 10.6036, 47.4966)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F35BA #70BA35
analogous
#3C35BA #7F35BA #BA35B3
triadic
#7F35BA #BA7F35 #35BA7F
tetradic
#7F35BA #BA3C35 #70BA35 #35B3BA
square
#7F35BA #BA3C35 #70BA35 #35B3BA
split-complementary
#7F35BA #B3BA35 #35BA3C
monochromatic
#3E1A5B #5E278A #7F35BA #9D5CD0 #B98BDE

Accessibility & contrast

On white

6.73
#7F35BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7F35BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F35BA
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F35BA#FFFFFF#000000##FFFFFF
##7F35BA1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#745474
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f35ba;
/* rgb */ color: rgb(127, 53, 186);
/* oklch */ color: oklch(49.8% 0.199 305.7);
Tailwind
colors: {
  custom: {
    50: '#a973d0',
    500: '#7f35ba',
    950: '#000000',
  },
}
SCSS
$custom: #7f35ba;
$custom-light: #a973d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f35ba",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 273.383,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49782,
    "c": 0.19945,
    "h": 305.7
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#7F35BA
secondary
#A1C882
accent
#DF498B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7F35BA

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

Preview Lab → · Contrast checker → · Palette generator →

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