#7F55E7#7F55E7

#7F55E7 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.3% C 0.210 H 291.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7F55E7
RGBrgb(127, 85, 231)
HSLhsl(257, 75%, 62%)
HSVhsv(257, 63%, 91%)
CMYKcmyk(45%, 63.2%, 0%, 9.4%)
CIE-LABlab(47.98, 50.55, -68.21)
CIE-LCHlch(47.98, 84.90, 306.54°)
OKLaboklab(57.32% 0.0773 -0.195)
OKLCHoklch(57.32% 0.21 291.6)
XYZxyz(26.4207, 16.7777, 77.4321)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F55E7 #BDE755
analogous
#5574E7 #7F55E7 #C855E7
triadic
#7F55E7 #E77F55 #55E77F
tetradic
#7F55E7 #E75574 #BDE755 #55E7C8
square
#7F55E7 #E75574 #BDE755 #55E7C8
split-complementary
#7F55E7 #E7C855 #74E755
monochromatic
#4218AA #5720DF #7F55E7 #A78BEF #D0C0F6

Accessibility & contrast

On white

4.82
#7F55E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7F55E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F55E7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F55E7#FFFFFF#000000##FFFFFF
##7F55E71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#607796
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f55e7;
/* rgb */ color: rgb(127, 85, 231);
/* oklch */ color: oklch(57.3% 0.210 291.6);
Tailwind
colors: {
  custom: {
    50: '#ab87f0',
    500: '#7f55e7',
    950: '#000000',
  },
}
SCSS
$custom: #7f55e7;
$custom-light: #ab87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f55e7",
  "rgb": {
    "r": 127,
    "g": 85,
    "b": 231
  },
  "hsl": {
    "h": 257.26,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57324,
    "c": 0.20981,
    "h": 291.6
  },
  "luminance": 0.16779
}

Semantic roles & 50–950 ramp

primary
#7F55E7
secondary
#D7E7B1
accent
#D70E9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F55E7

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

Preview Lab → · Contrast checker → · Palette generator →

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