#7F4FDF#7F4FDF

#7F4FDF is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.9% C 0.208 H 293.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7F4FDF
RGBrgb(127, 79, 223)
HSLhsl(260, 69%, 59%)
HSVhsv(260, 65%, 87%)
CMYKcmyk(43%, 64.6%, 0%, 12.5%)
CIE-LABlab(46.22, 51.59, -66.54)
CIE-LCHlch(46.22, 84.20, 307.79°)
OKLaboklab(55.87% 0.0844 -0.1901)
OKLCHoklch(55.87% 0.208 293.9)
XYZxyz(24.8641, 15.4310, 71.4662)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FDF #AFDF4F
analogous
#4F67DF #7F4FDF #C74FDF
triadic
#7F4FDF #DF7F4F #4FDF7F
tetradic
#7F4FDF #DF4F67 #AFDF4F #4FDFC7
square
#7F4FDF #DF4F67 #AFDF4F #4FDFC7
split-complementary
#7F4FDF #DFC74F #67DF4F
monochromatic
#451C98 #5D25CC #7F4FDF #A583E8 #CAB7F2

Accessibility & contrast

On white

5.14
#7F4FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7F4FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FDF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FDF#FFFFFF#000000##FFFFFF
##7F4FDF1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#647190
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7f4fdf;
/* rgb */ color: rgb(127, 79, 223);
/* oklch */ color: oklch(55.9% 0.208 293.9);
Tailwind
colors: {
  custom: {
    50: '#ab83ea',
    500: '#7f4fdf',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fdf;
$custom-light: #ab83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fdf",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 260,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5587,
    "c": 0.20797,
    "h": 293.9
  },
  "luminance": 0.15432
}

Semantic roles & 50–950 ramp

primary
#7F4FDF
secondary
#CEE1A9
accent
#EC3CB1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F4FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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