#7F4FDC#7F4FDC

#7F4FDC is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.6% C 0.204 H 294.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7F4FDC
RGBrgb(127, 79, 220)
HSLhsl(260, 67%, 59%)
HSVhsv(260, 64%, 86%)
CMYKcmyk(42.3%, 64.1%, 0%, 13.7%)
CIE-LABlab(46.00, 50.80, -65.18)
CIE-LCHlch(46.00, 82.64, 307.93°)
OKLaboklab(55.65% 0.0847 -0.1861)
OKLCHoklch(55.65% 0.204 294.5)
XYZxyz(24.4632, 15.2707, 69.3549)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FDC #ACDC4F
analogous
#4F65DC #7F4FDC #C64FDC
triadic
#7F4FDC #DC7F4F #4FDC7F
tetradic
#7F4FDC #DC4F65 #ACDC4F #4FDCC6
square
#7F4FDC #DC4F65 #ACDC4F #4FDCC6
split-complementary
#7F4FDC #DCC64F #65DC4F
monochromatic
#451D93 #5E27C6 #7F4FDC #A482E6 #C9B5F0

Accessibility & contrast

On white

5.18
#7F4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7F4FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FDC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FDC#FFFFFF#000000##FFFFFF
##7F4FDC1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#66708E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7f4fdc;
/* rgb */ color: rgb(127, 79, 220);
/* oklch */ color: oklch(55.6% 0.204 294.5);
Tailwind
colors: {
  custom: {
    50: '#ab83e8',
    500: '#7f4fdc',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fdc;
$custom-light: #ab83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fdc",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 260.426,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55646,
    "c": 0.20447,
    "h": 294.5
  },
  "luminance": 0.15271
}

Semantic roles & 50–950 ramp

primary
#7F4FDC
secondary
#CCDFA8
accent
#EA3EAF
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F4FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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