#7F3CB3#7F3CB3

#7F3CB3 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.183 H 306.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7F3CB3
RGBrgb(127, 60, 179)
HSLhsl(274, 50%, 47%)
HSVhsv(274, 66%, 70%)
CMYKcmyk(29.1%, 66.5%, 0%, 29.8%)
CIE-LABlab(39.58, 50.22, -51.80)
CIE-LCHlch(39.58, 72.15, 314.11°)
OKLaboklab(50.11% 0.1097 -0.1467)
OKLCHoklch(50.11% 0.183 306.8)
XYZxyz(18.5032, 10.9986, 43.7873)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3CB3 #70B33C
analogous
#443CB3 #7F3CB3 #B33CAC
triadic
#7F3CB3 #B37F3C #3CB37F
tetradic
#7F3CB3 #B3443C #70B33C #3CACB3
square
#7F3CB3 #B3443C #70B33C #3CACB3
split-complementary
#7F3CB3 #ACB33C #3CB344
monochromatic
#3E1D57 #5E2D85 #7F3CB3 #9D62CA #B990DA

Accessibility & contrast

On white

6.56
#7F3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7F3CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3CB3
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3CB3#FFFFFF#000000##FFFFFF
##7F3CB31.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#205EB0
Tritanopia (blue-blind)
#765672
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f3cb3;
/* rgb */ color: rgb(127, 60, 179);
/* oklch */ color: oklch(50.1% 0.183 306.8);
Tailwind
colors: {
  custom: {
    50: '#a876ca',
    500: '#7f3cb3',
    950: '#000000',
  },
}
SCSS
$custom: #7f3cb3;
$custom-light: #a876ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3cb3",
  "rgb": {
    "r": 127,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 273.782,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50107,
    "c": 0.1832,
    "h": 306.8
  },
  "luminance": 0.10998
}

Semantic roles & 50–950 ramp

primary
#7F3CB3
secondary
#A1C586
accent
#D94E8B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7F3CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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