#7F35BB#7F35BB

#7F35BB is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.200 H 305.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7F35BB
RGBrgb(127, 53, 187)
HSLhsl(273, 56%, 47%)
HSVhsv(273, 72%, 73%)
CMYKcmyk(32.1%, 71.7%, 0%, 26.7%)
CIE-LABlab(38.98, 55.34, -57.49)
CIE-LCHlch(38.98, 79.80, 313.91°)
OKLaboklab(49.86% 0.1162 -0.1634)
OKLCHoklch(49.86% 0.2 305.4)
XYZxyz(18.9931, 10.6462, 48.0584)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F35BB #71BB35
analogous
#3C35BB #7F35BB #BB35B4
triadic
#7F35BB #BB7F35 #35BB7F
tetradic
#7F35BB #BB3C35 #71BB35 #35B4BB
square
#7F35BB #BB3C35 #71BB35 #35B4BB
split-complementary
#7F35BB #B4BB35 #35BB3C
monochromatic
#3E1A5C #5F278B #7F35BB #9D5CD1 #BA8CDE

Accessibility & contrast

On white

6.71
#7F35BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7F35BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F35BB
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F35BB#FFFFFF#000000##FFFFFF
##7F35BB1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f35bb;
/* rgb */ color: rgb(127, 53, 187);
/* oklch */ color: oklch(49.9% 0.200 305.4);
Tailwind
colors: {
  custom: {
    50: '#a973d0',
    500: '#7f35bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f35bb;
$custom-light: #a973d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f35bb",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 273.134,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49857,
    "c": 0.20047,
    "h": 305.4
  },
  "luminance": 0.10646
}

Semantic roles & 50–950 ramp

primary
#7F35BB
secondary
#A2C983
accent
#DF498C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7F35BB

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

Preview Lab → · Contrast checker → · Palette generator →

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