#7F4DF3#7F4DF3

#7F4DF3 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.2% C 0.233 H 291.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7F4DF3
RGBrgb(127, 77, 243)
HSLhsl(258, 87%, 63%)
HSVhsv(258, 68%, 95%)
CMYKcmyk(47.7%, 68.3%, 0%, 4.7%)
CIE-LABlab(47.35, 57.95, -75.98)
CIE-LCHlch(47.35, 95.56, 307.33°)
OKLaboklab(57.16% 0.0835 -0.2178)
OKLCHoklch(57.16% 0.233 291)
XYZxyz(27.5794, 16.2898, 86.4677)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4DF3 #C1F34D
analogous
#4D6EF3 #7F4DF3 #D24DF3
triadic
#7F4DF3 #F37F4D #4DF37F
tetradic
#7F4DF3 #F34D6E #C1F34D #4DF3D2
square
#7F4DF3 #F34D6E #C1F34D #4DF3D2
split-complementary
#7F4DF3 #F3D24D #6EF34D
monochromatic
#400CB9 #5614EF #7F4DF3 #A886F7 #D1C0FB

Accessibility & contrast

On white

4.93
#7F4DF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7F4DF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4DF3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4DF3#FFFFFF#000000##FFFFFF
##7F4DF31.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F8
Deuteranopia (green-blind)
#006DF0
Tritanopia (blue-blind)
#59779A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7f4df3;
/* rgb */ color: rgb(127, 77, 243);
/* oklch */ color: oklch(57.2% 0.233 291.0);
Tailwind
colors: {
  custom: {
    50: '#ad82f8',
    500: '#7f4df3',
    950: '#000000',
  },
}
SCSS
$custom: #7f4df3;
$custom-light: #ad82f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4df3",
  "rgb": {
    "r": 127,
    "g": 77,
    "b": 243
  },
  "hsl": {
    "h": 258.072,
    "s": 87.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57155,
    "c": 0.23331,
    "h": 291
  },
  "luminance": 0.16291
}

Semantic roles & 50–950 ramp

primary
#7F4DF3
secondary
#DAECB0
accent
#E402A0
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F4DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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