#7F55E9#7F55E9

#7F55E9 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.212 H 291.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7F55E9
RGBrgb(127, 85, 233)
HSLhsl(257, 77%, 62%)
HSVhsv(257, 64%, 91%)
CMYKcmyk(45.5%, 63.5%, 0%, 8.6%)
CIE-LABlab(48.12, 51.09, -69.10)
CIE-LCHlch(48.12, 85.94, 306.48°)
OKLaboklab(57.47% 0.0772 -0.1977)
OKLCHoklch(57.47% 0.212 291.3)
XYZxyz(26.7048, 16.8913, 78.9283)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F55E9 #BFE955
analogous
#5575E9 #7F55E9 #C955E9
triadic
#7F55E9 #E97F55 #55E97F
tetradic
#7F55E9 #E95575 #BFE955 #55E9C9
square
#7F55E9 #E95575 #BFE955 #55E9C9
split-complementary
#7F55E9 #E9C955 #75E955
monochromatic
#4116AD #561FE2 #7F55E9 #A88BF0 #D1C1F7

Accessibility & contrast

On white

4.80
#7F55E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7F55E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F55E9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F55E9#FFFFFF#000000##FFFFFF
##7F55E91.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#006FE6
Tritanopia (blue-blind)
#5F7897
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f55e9;
/* rgb */ color: rgb(127, 85, 233);
/* oklch */ color: oklch(57.5% 0.212 291.3);
Tailwind
colors: {
  custom: {
    50: '#ac87f1',
    500: '#7f55e9',
    950: '#000000',
  },
}
SCSS
$custom: #7f55e9;
$custom-light: #ac87f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f55e9",
  "rgb": {
    "r": 127,
    "g": 85,
    "b": 233
  },
  "hsl": {
    "h": 257.027,
    "s": 77.083,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57474,
    "c": 0.21218,
    "h": 291.3
  },
  "luminance": 0.16892
}

Semantic roles & 50–950 ramp

primary
#7F55E9
secondary
#D9E8B2
accent
#D90C9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F55E9

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

Preview Lab → · Contrast checker → · Palette generator →

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