#7F35B9#7F35B9

#7F35B9 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.7% C 0.198 H 305.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7F35B9
RGBrgb(127, 53, 185)
HSLhsl(274, 55%, 47%)
HSVhsv(274, 71%, 73%)
CMYKcmyk(31.4%, 71.4%, 0%, 27.5%)
CIE-LABlab(38.83, 54.88, -56.55)
CIE-LCHlch(38.83, 78.80, 314.14°)
OKLaboklab(49.71% 0.1165 -0.1606)
OKLCHoklch(49.71% 0.198 305.9)
XYZxyz(18.7805, 10.5612, 46.9387)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F35B9 #6FB935
analogous
#3D35B9 #7F35B9 #B935B1
triadic
#7F35B9 #B97F35 #35B97F
tetradic
#7F35B9 #B93D35 #6FB935 #35B1B9
square
#7F35B9 #B93D35 #6FB935 #35B1B9
split-complementary
#7F35B9 #B1B935 #35B93D
monochromatic
#3E1A5A #5E2789 #7F35B9 #9D5BD0 #B98BDE

Accessibility & contrast

On white

6.75
#7F35B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7F35B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F35B9
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F35B9#FFFFFF#000000##FFFFFF
##7F35B91.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#755474
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f35b9;
/* rgb */ color: rgb(127, 53, 185);
/* oklch */ color: oklch(49.7% 0.198 305.9);
Tailwind
colors: {
  custom: {
    50: '#a973cf',
    500: '#7f35b9',
    950: '#000000',
  },
}
SCSS
$custom: #7f35b9;
$custom-light: #a973cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f35b9",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 273.636,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49707,
    "c": 0.19842,
    "h": 305.9
  },
  "luminance": 0.10561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F35B9

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

Preview Lab → · Contrast checker → · Palette generator →

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