#7F3FD8#7F3FD8

#7F3FD8 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.3% C 0.219 H 297.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7F3FD8
RGBrgb(127, 63, 216)
HSLhsl(265, 66%, 55%)
HSVhsv(265, 71%, 85%)
CMYKcmyk(41.2%, 70.8%, 0%, 15.3%)
CIE-LABlab(42.80, 57.77, -68.10)
CIE-LCHlch(42.80, 89.31, 310.31°)
OKLaboklab(53.26% 0.1012 -0.1946)
OKLCHoklch(53.26% 0.219 297.5)
XYZxyz(22.9214, 13.0245, 66.2588)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FD8 #98D83F
analogous
#3F4CD8 #7F3FD8 #CC3FD8
triadic
#7F3FD8 #D87F3F #3FD87F
tetradic
#7F3FD8 #D83F4C #98D83F #3FD8CC
square
#7F3FD8 #D83F4C #98D83F #3FD8CC
split-complementary
#7F3FD8 #D8CC3F #4CD83F
monochromatic
#461A82 #6125B5 #7F3FD8 #A172E2 #C3A5ED

Accessibility & contrast

On white

5.83
#7F3FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7F3FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3FD8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FD8#FFFFFF#000000##FFFFFF
##7F3FD81.005.833.615.83
#FFFFFF5.831.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#0063D5
Tritanopia (blue-blind)
#696587
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f3fd8;
/* rgb */ color: rgb(127, 63, 216);
/* oklch */ color: oklch(53.3% 0.219 297.5);
Tailwind
colors: {
  custom: {
    50: '#ab79e5',
    500: '#7f3fd8',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fd8;
$custom-light: #ab79e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fd8",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 216
  },
  "hsl": {
    "h": 265.098,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53259,
    "c": 0.2194,
    "h": 297.5
  },
  "luminance": 0.13025
}

Semantic roles & 50–950 ramp

primary
#7F3FD8
secondary
#BFDA99
accent
#E93FA2
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7F3FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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