#7F55DE#7F55DE

#7F55DE is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.7% C 0.199 H 293.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7F55DE
RGBrgb(127, 85, 222)
HSLhsl(258, 67%, 60%)
HSVhsv(258, 62%, 87%)
CMYKcmyk(42.8%, 61.7%, 0%, 12.9%)
CIE-LABlab(47.34, 48.11, -64.15)
CIE-LCHlch(47.34, 80.18, 306.87°)
OKLaboklab(56.66% 0.0781 -0.1831)
OKLCHoklch(56.66% 0.199 293.1)
XYZxyz(25.1821, 16.2822, 70.9091)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F55DE #B4DE55
analogous
#556FDE #7F55DE #C355DE
triadic
#7F55DE #DE7F55 #55DE7F
tetradic
#7F55DE #DE556F #B4DE55 #55DEC3
square
#7F55DE #DE556F #B4DE55 #55DEC3
split-complementary
#7F55DE #DEC355 #6FDE55
monochromatic
#441E9B #5B28CE #7F55DE #A688E8 #CCBCF2

Accessibility & contrast

On white

4.93
#7F55DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7F55DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F55DE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F55DE#FFFFFF#000000##FFFFFF
##7F55DE1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#657492
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7f55de;
/* rgb */ color: rgb(127, 85, 222);
/* oklch */ color: oklch(56.7% 0.199 293.1);
Tailwind
colors: {
  custom: {
    50: '#aa87e9',
    500: '#7f55de',
    950: '#000000',
  },
}
SCSS
$custom: #7f55de;
$custom-light: #aa87e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f55de",
  "rgb": {
    "r": 127,
    "g": 85,
    "b": 222
  },
  "hsl": {
    "h": 258.394,
    "s": 67.488,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56662,
    "c": 0.19903,
    "h": 293.1
  },
  "luminance": 0.16283
}

Semantic roles & 50–950 ramp

primary
#7F55DE
secondary
#D2E2AD
accent
#CF1697
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F55DE

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

Preview Lab → · Contrast checker → · Palette generator →

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