#7F5DED#7F5DED

#7F5DED is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.0% C 0.207 H 289.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7F5DED
RGBrgb(127, 93, 237)
HSLhsl(254, 80%, 65%)
HSVhsv(254, 61%, 93%)
CMYKcmyk(46.4%, 60.8%, 0%, 7.1%)
CIE-LABlab(50.04, 47.82, -68.24)
CIE-LCHlch(50.04, 83.33, 305.02°)
OKLaboklab(58.96% 0.0686 -0.1951)
OKLCHoklch(58.96% 0.207 289.4)
XYZxyz(27.9485, 18.4541, 82.1937)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5DED #CBED5D
analogous
#5D83ED #7F5DED #C75DED
triadic
#7F5DED #ED7F5D #5DED7F
tetradic
#7F5DED #ED5D83 #CBED5D #5DEDC7
square
#7F5DED #ED5D83 #CBED5D #5DEDC7
split-complementary
#7F5DED #EDC75D #83ED5D
monochromatic
#3C15BB #5326E7 #7F5DED #AB94F3 #D6CBF9

Accessibility & contrast

On white

4.48
#7F5DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7F5DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F5DED
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5DED#FFFFFF#000000##000000
##7F5DED1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#0074EA
Tritanopia (blue-blind)
#5C7E9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7f5ded;
/* rgb */ color: rgb(127, 93, 237);
/* oklch */ color: oklch(59.0% 0.207 289.4);
Tailwind
colors: {
  custom: {
    50: '#ac8cf4',
    500: '#7f5ded',
    950: '#000000',
  },
}
SCSS
$custom: #7f5ded;
$custom-light: #ac8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5ded",
  "rgb": {
    "r": 127,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 254.167,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58958,
    "c": 0.20681,
    "h": 289.4
  },
  "luminance": 0.18455
}

Semantic roles & 50–950 ramp

primary
#7F5DED
secondary
#E0ECBA
accent
#DC09AA
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F5DED

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

Preview Lab → · Contrast checker → · Palette generator →

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