#7F4FF3#7F4FF3

#7F4FF3 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.231 H 290.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7F4FF3
RGBrgb(127, 79, 243)
HSLhsl(258, 87%, 63%)
HSVhsv(258, 67%, 95%)
CMYKcmyk(47.7%, 67.5%, 0%, 4.7%)
CIE-LABlab(47.72, 56.94, -75.38)
CIE-LCHlch(47.72, 94.47, 307.06°)
OKLaboklab(57.42% 0.0817 -0.2161)
OKLCHoklch(57.42% 0.231 290.7)
XYZxyz(27.7214, 16.5740, 86.5151)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FF3 #C3F34F
analogous
#4F71F3 #7F4FF3 #D14FF3
triadic
#7F4FF3 #F37F4F #4FF37F
tetradic
#7F4FF3 #F34F71 #C3F34F #4FF3D1
square
#7F4FF3 #F34F71 #C3F34F #4FF3D1
split-complementary
#7F4FF3 #F3D14F #71F34F
monochromatic
#400DBB #5516EF #7F4FF3 #A988F7 #D2C2FB

Accessibility & contrast

On white

4.87
#7F4FF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7F4FF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FF3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FF3#FFFFFF#000000##FFFFFF
##7F4FF31.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F8
Deuteranopia (green-blind)
#006EF0
Tritanopia (blue-blind)
#59789B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f4ff3;
/* rgb */ color: rgb(127, 79, 243);
/* oklch */ color: oklch(57.4% 0.231 290.7);
Tailwind
colors: {
  custom: {
    50: '#ad84f8',
    500: '#7f4ff3',
    950: '#000000',
  },
}
SCSS
$custom: #7f4ff3;
$custom-light: #ad84f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4ff3",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 243
  },
  "hsl": {
    "h": 257.561,
    "s": 87.234,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57417,
    "c": 0.23102,
    "h": 290.7
  },
  "luminance": 0.16575
}

Semantic roles & 50–950 ramp

primary
#7F4FF3
secondary
#DBECB2
accent
#E402A2
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F4FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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