#7F35BE#7F35BE

#7F35BE is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.204 H 304.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7F35BE
RGBrgb(127, 53, 190)
HSLhsl(272, 56%, 48%)
HSVhsv(272, 72%, 75%)
CMYKcmyk(33.2%, 72.1%, 0%, 25.5%)
CIE-LABlab(39.20, 56.04, -58.89)
CIE-LCHlch(39.20, 81.29, 313.58°)
OKLaboklab(50.09% 0.1156 -0.1675)
OKLCHoklch(50.09% 0.204 304.6)
XYZxyz(19.3177, 10.7760, 49.7675)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F35BE #74BE35
analogous
#3B35BE #7F35BE #BE35B8
triadic
#7F35BE #BE7F35 #35BE7F
tetradic
#7F35BE #BE3B35 #74BE35 #35B8BE
square
#7F35BE #BE3B35 #74BE35 #35B8BE
split-complementary
#7F35BE #B8BE35 #35BE3B
monochromatic
#3F1A5E #5F288E #7F35BE #9D5ED2 #BA8EDF

Accessibility & contrast

On white

6.66
#7F35BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7F35BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F35BE
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F35BE#FFFFFF#000000##FFFFFF
##7F35BE1.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#735676
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f35be;
/* rgb */ color: rgb(127, 53, 190);
/* oklch */ color: oklch(50.1% 0.204 304.6);
Tailwind
colors: {
  custom: {
    50: '#a973d2',
    500: '#7f35be',
    950: '#000000',
  },
}
SCSS
$custom: #7f35be;
$custom-light: #a973d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f35be",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 272.409,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50085,
    "c": 0.20355,
    "h": 304.6
  },
  "luminance": 0.10776
}

Semantic roles & 50–950 ramp

primary
#7F35BE
secondary
#A5CA85
accent
#E0488E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7F35BE

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

Preview Lab → · Contrast checker → · Palette generator →

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