#7F4FD3#7F4FD3

#7F4FD3 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.194 H 296.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7F4FD3
RGBrgb(127, 79, 211)
HSLhsl(262, 60%, 57%)
HSVhsv(262, 63%, 83%)
CMYKcmyk(39.8%, 62.6%, 0%, 17.3%)
CIE-LABlab(45.37, 48.42, -61.07)
CIE-LCHlch(45.37, 77.93, 308.41°)
OKLaboklab(54.99% 0.0855 -0.174)
OKLCHoklch(54.99% 0.194 296.2)
XYZxyz(23.3032, 14.8067, 63.2456)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FD3 #A3D34F
analogous
#4F61D3 #7F4FD3 #C14FD3
triadic
#7F4FD3 #D37F4F #4FD37F
tetradic
#7F4FD3 #D34F61 #A3D34F #4FD3C1
square
#7F4FD3 #D34F61 #A3D34F #4FD3C1
split-complementary
#7F4FD3 #D3C14F #61D34F
monochromatic
#462286 #602EB7 #7F4FD3 #A380DF #C6B1EB

Accessibility & contrast

On white

5.30
#7F4FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7F4FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FD3
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FD3#FFFFFF#000000##FFFFFF
##7F4FD31.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#6A6D8A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7f4fd3;
/* rgb */ color: rgb(127, 79, 211);
/* oklch */ color: oklch(55.0% 0.194 296.2);
Tailwind
colors: {
  custom: {
    50: '#aa83e1',
    500: '#7f4fd3',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fd3;
$custom-light: #aa83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fd3",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 261.818,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54986,
    "c": 0.19387,
    "h": 296.2
  },
  "luminance": 0.14807
}

Semantic roles & 50–950 ramp

primary
#7F4FD3
secondary
#C6DAA4
accent
#E345AA
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7F4FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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