#7F4FF5#7F4FF5

#7F4FF5 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.6% C 0.233 H 290.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7F4FF5
RGBrgb(127, 79, 245)
HSLhsl(257, 89%, 64%)
HSVhsv(257, 68%, 96%)
CMYKcmyk(48.2%, 67.8%, 0%, 3.9%)
CIE-LABlab(47.87, 57.47, -76.25)
CIE-LCHlch(47.87, 95.48, 307.01°)
OKLaboklab(57.58% 0.0814 -0.2186)
OKLCHoklch(57.58% 0.233 290.4)
XYZxyz(28.0251, 16.6955, 88.1144)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FF5 #C5F54F
analogous
#4F72F5 #7F4FF5 #D24FF5
triadic
#7F4FF5 #F57F4F #4FF57F
tetradic
#7F4FF5 #F54F72 #C5F54F #4FF5D2
square
#7F4FF5 #F54F72 #C5F54F #4FF5D2
split-complementary
#7F4FF5 #F5D24F #72F54F
monochromatic
#3F0BBF #5515F2 #7F4FF5 #A989F8 #D3C3FC

Accessibility & contrast

On white

4.84
#7F4FF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7F4FF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FF5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FF5#FFFFFF#000000##FFFFFF
##7F4FF51.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FA
Deuteranopia (green-blind)
#006EF2
Tritanopia (blue-blind)
#58799C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f4ff5;
/* rgb */ color: rgb(127, 79, 245);
/* oklch */ color: oklch(57.6% 0.233 290.4);
Tailwind
colors: {
  custom: {
    50: '#ad84fa',
    500: '#7f4ff5',
    950: '#000000',
  },
}
SCSS
$custom: #7f4ff5;
$custom-light: #ad84fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4ff5",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 245
  },
  "hsl": {
    "h": 257.349,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57576,
    "c": 0.2333,
    "h": 290.4
  },
  "luminance": 0.16697
}

Semantic roles & 50–950 ramp

primary
#7F4FF5
secondary
#DCEDB2
accent
#E600A3
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F4FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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