#7F35BF#7F35BF

#7F35BF is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.2% C 0.205 H 304.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7F35BF
RGBrgb(127, 53, 191)
HSLhsl(272, 57%, 48%)
HSVhsv(272, 72%, 75%)
CMYKcmyk(33.5%, 72.3%, 0%, 25.1%)
CIE-LABlab(39.28, 56.27, -59.35)
CIE-LCHlch(39.28, 81.79, 313.47°)
OKLaboklab(50.16% 0.1155 -0.1689)
OKLCHoklch(50.16% 0.205 304.4)
XYZxyz(19.4273, 10.8199, 50.3451)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F35BF #75BF35
analogous
#3A35BF #7F35BF #BF35BA
triadic
#7F35BF #BF7F35 #35BF7F
tetradic
#7F35BF #BF3A35 #75BF35 #35BABF
square
#7F35BF #BF3A35 #75BF35 #35BABF
split-complementary
#7F35BF #BABF35 #35BF3A
monochromatic
#3F1A5F #5F288F #7F35BF #9D5FD3 #BA8FE0

Accessibility & contrast

On white

6.64
#7F35BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F35BF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F35BF#FFFFFF#000000##FFFFFF
##7F35BF1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#735677
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f35bf;
/* rgb */ color: rgb(127, 53, 191);
/* oklch */ color: oklch(50.2% 0.205 304.4);
Tailwind
colors: {
  custom: {
    50: '#a973d3',
    500: '#7f35bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f35bf;
$custom-light: #a973d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f35bf",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 272.174,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50162,
    "c": 0.20458,
    "h": 304.4
  },
  "luminance": 0.1082
}

Semantic roles & 50–950 ramp

primary
#7F35BF
secondary
#A5CA85
accent
#E0488E
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7F35BF

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

Preview Lab → · Contrast checker → · Palette generator →

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