#7F3BD6#7F3BD6

#7F3BD6 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.222 H 298.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7F3BD6
RGBrgb(127, 59, 214)
HSLhsl(266, 65%, 54%)
HSVhsv(266, 72%, 84%)
CMYKcmyk(40.7%, 72.4%, 0%, 16.1%)
CIE-LABlab(41.99, 59.11, -68.27)
CIE-LCHlch(41.99, 90.31, 310.89°)
OKLaboklab(52.64% 0.1053 -0.1951)
OKLCHoklch(52.64% 0.222 298.4)
XYZxyz(22.4508, 12.4947, 64.8342)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3BD6 #92D63B
analogous
#3B44D6 #7F3BD6 #CD3BD6
triadic
#7F3BD6 #D67F3B #3BD67F
tetradic
#7F3BD6 #D63B44 #92D63B #3BD6CD
square
#7F3BD6 #D63B44 #92D63B #3BD6CD
split-complementary
#7F3BD6 #D6CD3B #44D63B
monochromatic
#451A7D #6125AF #7F3BD6 #A06EE1 #C1A0EB

Accessibility & contrast

On white

6.00
#7F3BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7F3BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3BD6
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3BD6#FFFFFF#000000##FFFFFF
##7F3BD61.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DA
Deuteranopia (green-blind)
#0061D3
Tritanopia (blue-blind)
#6A6285
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7f3bd6;
/* rgb */ color: rgb(127, 59, 214);
/* oklch */ color: oklch(52.6% 0.222 298.4);
Tailwind
colors: {
  custom: {
    50: '#ab77e4',
    500: '#7f3bd6',
    950: '#000000',
  },
}
SCSS
$custom: #7f3bd6;
$custom-light: #ab77e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3bd6",
  "rgb": {
    "r": 127,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 266.323,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52637,
    "c": 0.22174,
    "h": 298.4
  },
  "luminance": 0.12495
}

Semantic roles & 50–950 ramp

primary
#7F3BD6
secondary
#BAD895
accent
#E83F9E
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7F3BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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