#7F4EDF#7F4EDF

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

Color values

HEX#7F4EDF
RGBrgb(127, 78, 223)
HSLhsl(260, 69%, 59%)
HSVhsv(260, 65%, 87%)
CMYKcmyk(43%, 65%, 0%, 12.5%)
CIE-LABlab(46.03, 52.12, -66.85)
CIE-LCHlch(46.03, 84.76, 307.94°)
OKLaboklab(55.73% 0.0854 -0.191)
OKLCHoklch(55.73% 0.209 294.1)
XYZxyz(24.7925, 15.2879, 71.4423)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4EDF #AEDF4E
analogous
#4E66DF #7F4EDF #C84EDF
triadic
#7F4EDF #DF7F4E #4EDF7F
tetradic
#7F4EDF #DF4E66 #AEDF4E #4EDFC8
square
#7F4EDF #DF4E66 #AEDF4E #4EDFC8
split-complementary
#7F4EDF #DFC84E #66DF4E
monochromatic
#451B97 #5D25CB #7F4EDF #A482E8 #CAB6F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F4EDF#FFFFFF#000000##FFFFFF
##7F4EDF1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f4edf;
/* rgb */ color: rgb(127, 78, 223);
/* oklch */ color: oklch(55.7% 0.209 294.1);
Tailwind
colors: {
  custom: {
    50: '#ab82ea',
    500: '#7f4edf',
    950: '#000000',
  },
}
SCSS
$custom: #7f4edf;
$custom-light: #ab82ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4edf",
  "rgb": {
    "r": 127,
    "g": 78,
    "b": 223
  },
  "hsl": {
    "h": 260.276,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55731,
    "c": 0.20924,
    "h": 294.1
  },
  "luminance": 0.15289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F4EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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