#7F4FDD#7F4FDD

#7F4FDD is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.7% C 0.206 H 294.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7F4FDD
RGBrgb(127, 79, 221)
HSLhsl(260, 68%, 59%)
HSVhsv(260, 64%, 87%)
CMYKcmyk(42.5%, 64.3%, 0%, 13.3%)
CIE-LABlab(46.07, 51.06, -65.63)
CIE-LCHlch(46.07, 83.16, 307.88°)
OKLaboklab(55.72% 0.0846 -0.1874)
OKLCHoklch(55.72% 0.206 294.3)
XYZxyz(24.5960, 15.3238, 70.0545)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FDD #ADDD4F
analogous
#4F66DD #7F4FDD #C64FDD
triadic
#7F4FDD #DD7F4F #4FDD7F
tetradic
#7F4FDD #DD4F66 #ADDD4F #4FDDC6
square
#7F4FDD #DD4F66 #ADDD4F #4FDDC6
split-complementary
#7F4FDD #DDC64F #66DD4F
monochromatic
#451D95 #5D27C8 #7F4FDD #A482E7 #CAB6F1

Accessibility & contrast

On white

5.17
#7F4FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7F4FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FDD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FDD#FFFFFF#000000##FFFFFF
##7F4FDD1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#65708F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7f4fdd;
/* rgb */ color: rgb(127, 79, 221);
/* oklch */ color: oklch(55.7% 0.206 294.3);
Tailwind
colors: {
  custom: {
    50: '#ab83e8',
    500: '#7f4fdd',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fdd;
$custom-light: #ab83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fdd",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 260.282,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5572,
    "c": 0.20564,
    "h": 294.3
  },
  "luminance": 0.15324
}

Semantic roles & 50–950 ramp

primary
#7F4FDD
secondary
#CDE0A8
accent
#EA3DB0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F4FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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