#7F4FD2#7F4FD2

#7F4FD2 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.9% C 0.193 H 296.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7F4FD2
RGBrgb(127, 79, 210)
HSLhsl(262, 59%, 57%)
HSVhsv(262, 62%, 82%)
CMYKcmyk(39.5%, 62.4%, 0%, 17.6%)
CIE-LABlab(45.30, 48.16, -60.60)
CIE-LCHlch(45.30, 77.41, 308.47°)
OKLaboklab(54.91% 0.0855 -0.1727)
OKLCHoklch(54.91% 0.193 296.4)
XYZxyz(23.1782, 14.7567, 62.5874)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FD2 #A2D24F
analogous
#4F61D2 #7F4FD2 #C14FD2
triadic
#7F4FD2 #D27F4F #4FD27F
tetradic
#7F4FD2 #D24F61 #A2D24F #4FD2C1
square
#7F4FD2 #D24F61 #A2D24F #4FD2C1
split-complementary
#7F4FD2 #D2C14F #61D24F
monochromatic
#462285 #602EB5 #7F4FD2 #A280DE #C6B0EB

Accessibility & contrast

On white

5.31
#7F4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7F4FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FD2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FD2#FFFFFF#000000##FFFFFF
##7F4FD21.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#6A6C89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7f4fd2;
/* rgb */ color: rgb(127, 79, 210);
/* oklch */ color: oklch(54.9% 0.193 296.4);
Tailwind
colors: {
  custom: {
    50: '#aa83e1',
    500: '#7f4fd2',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fd2;
$custom-light: #aa83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fd2",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 261.985,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54914,
    "c": 0.19268,
    "h": 296.4
  },
  "luminance": 0.14757
}

Semantic roles & 50–950 ramp

primary
#7F4FD2
secondary
#C6D9A4
accent
#E245A9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7F4FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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