#7F4FDE#7F4FDE

#7F4FDE is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.207 H 294.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7F4FDE
RGBrgb(127, 79, 222)
HSLhsl(260, 68%, 59%)
HSVhsv(260, 64%, 87%)
CMYKcmyk(42.8%, 64.4%, 0%, 12.9%)
CIE-LABlab(46.15, 51.33, -66.09)
CIE-LCHlch(46.15, 83.68, 307.84°)
OKLaboklab(55.79% 0.0845 -0.1888)
OKLCHoklch(55.79% 0.207 294.1)
XYZxyz(24.7296, 15.3773, 70.7582)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FDE #AEDE4F
analogous
#4F67DE #7F4FDE #C74FDE
triadic
#7F4FDE #DE7F4F #4FDE7F
tetradic
#7F4FDE #DE4F67 #AEDE4F #4FDEC7
square
#7F4FDE #DE4F67 #AEDE4F #4FDEC7
split-complementary
#7F4FDE #DEC74F #67DE4F
monochromatic
#451C96 #5D26CA #7F4FDE #A483E8 #CAB6F1

Accessibility & contrast

On white

5.15
#7F4FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7F4FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FDE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FDE#FFFFFF#000000##FFFFFF
##7F4FDE1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#006BDB
Tritanopia (blue-blind)
#657190
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7f4fde;
/* rgb */ color: rgb(127, 79, 222);
/* oklch */ color: oklch(55.8% 0.207 294.1);
Tailwind
colors: {
  custom: {
    50: '#ab83e9',
    500: '#7f4fde',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fde;
$custom-light: #ab83e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fde",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 260.14,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55795,
    "c": 0.20681,
    "h": 294.1
  },
  "luminance": 0.15378
}

Semantic roles & 50–950 ramp

primary
#7F4FDE
secondary
#CEE0A8
accent
#EB3DB1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F4FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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