#7F55EE#7F55EE

#7F55EE is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.9% C 0.218 H 290.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7F55EE
RGBrgb(127, 85, 238)
HSLhsl(256, 82%, 63%)
HSVhsv(256, 64%, 93%)
CMYKcmyk(46.6%, 64.3%, 0%, 6.7%)
CIE-LABlab(48.49, 52.45, -71.33)
CIE-LCHlch(48.49, 88.54, 306.33°)
OKLaboklab(57.85% 0.0766 -0.2042)
OKLCHoklch(57.85% 0.218 290.6)
XYZxyz(27.4291, 17.1810, 82.7434)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F55EE #C4EE55
analogous
#5577EE #7F55EE #CC55EE
triadic
#7F55EE #EE7F55 #55EE7F
tetradic
#7F55EE #EE5577 #C4EE55 #55EECC
square
#7F55EE #EE5577 #C4EE55 #55EECC
split-complementary
#7F55EE #EECC55 #77EE55
monochromatic
#3F12B6 #551DE8 #7F55EE #A98DF4 #D3C4F9

Accessibility & contrast

On white

4.73
#7F55EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7F55EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F55EE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F55EE#FFFFFF#000000##FFFFFF
##7F55EE1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#0070EB
Tritanopia (blue-blind)
#5C7A9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f55ee;
/* rgb */ color: rgb(127, 85, 238);
/* oklch */ color: oklch(57.9% 0.218 290.6);
Tailwind
colors: {
  custom: {
    50: '#ac87f5',
    500: '#7f55ee',
    950: '#000000',
  },
}
SCSS
$custom: #7f55ee;
$custom-light: #ac87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f55ee",
  "rgb": {
    "r": 127,
    "g": 85,
    "b": 238
  },
  "hsl": {
    "h": 256.471,
    "s": 81.818,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57852,
    "c": 0.2181,
    "h": 290.6
  },
  "luminance": 0.17182
}

Semantic roles & 50–950 ramp

primary
#7F55EE
secondary
#DCEBB4
accent
#DE07A3
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F55EE

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

Preview Lab → · Contrast checker → · Palette generator →

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