#7F3FDA#7F3FDA

#7F3FDA is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.4% C 0.222 H 297.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7F3FDA
RGBrgb(127, 63, 218)
HSLhsl(265, 68%, 55%)
HSVhsv(265, 71%, 85%)
CMYKcmyk(41.7%, 71.1%, 0%, 14.5%)
CIE-LABlab(42.96, 58.27, -68.99)
CIE-LCHlch(42.96, 90.31, 310.18°)
OKLaboklab(53.42% 0.1009 -0.1973)
OKLCHoklch(53.42% 0.222 297.1)
XYZxyz(23.1815, 13.1286, 67.6288)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FDA #9ADA3F
analogous
#3F4CDA #7F3FDA #CC3FDA
triadic
#7F3FDA #DA7F3F #3FDA7F
tetradic
#7F3FDA #DA3F4C #9ADA3F #3FDACC
square
#7F3FDA #DA3F4C #9ADA3F #3FDACC
split-complementary
#7F3FDA #DACC3F #4CDA3F
monochromatic
#461A85 #6124B8 #7F3FDA #A172E4 #C3A6EE

Accessibility & contrast

On white

5.79
#7F3FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7F3FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3FDA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FDA#FFFFFF#000000##FFFFFF
##7F3FDA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DF
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#686689
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f3fda;
/* rgb */ color: rgb(127, 63, 218);
/* oklch */ color: oklch(53.4% 0.222 297.1);
Tailwind
colors: {
  custom: {
    50: '#ab79e6',
    500: '#7f3fda',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fda;
$custom-light: #ab79e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fda",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 218
  },
  "hsl": {
    "h": 264.774,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53418,
    "c": 0.22156,
    "h": 297.1
  },
  "luminance": 0.13129
}

Semantic roles & 50–950 ramp

primary
#7F3FDA
secondary
#C0DB9A
accent
#EB3DA3
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7F3FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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