#7F55E3#7F55E3

#7F55E3 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.0% C 0.205 H 292.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7F55E3
RGBrgb(127, 85, 227)
HSLhsl(258, 72%, 61%)
HSVhsv(258, 63%, 89%)
CMYKcmyk(44.1%, 62.6%, 0%, 11%)
CIE-LABlab(47.69, 49.46, -66.41)
CIE-LCHlch(47.69, 82.81, 306.68°)
OKLaboklab(57.03% 0.0777 -0.1897)
OKLCHoklch(57.03% 0.205 292.3)
XYZxyz(25.8622, 16.5543, 74.4908)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F55E3 #B9E355
analogous
#5572E3 #7F55E3 #C655E3
triadic
#7F55E3 #E37F55 #55E37F
tetradic
#7F55E3 #E35572 #B9E355 #55E3C6
square
#7F55E3 #E35572 #B9E355 #55E3C6
split-complementary
#7F55E3 #E3C655 #72E355
monochromatic
#431BA3 #5923D7 #7F55E3 #A78AEC #CEBEF4

Accessibility & contrast

On white

4.87
#7F55E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7F55E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F55E3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F55E3#FFFFFF#000000##FFFFFF
##7F55E31.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#627694
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f55e3;
/* rgb */ color: rgb(127, 85, 227);
/* oklch */ color: oklch(57.0% 0.205 292.3);
Tailwind
colors: {
  custom: {
    50: '#ab87ed',
    500: '#7f55e3',
    950: '#000000',
  },
}
SCSS
$custom: #7f55e3;
$custom-light: #ab87ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7f55e3",
  "rgb": {
    "r": 127,
    "g": 85,
    "b": 227
  },
  "hsl": {
    "h": 257.746,
    "s": 71.717,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57027,
    "c": 0.20504,
    "h": 292.3
  },
  "luminance": 0.16555
}

Semantic roles & 50–950 ramp

primary
#7F55E3
secondary
#D5E5AF
accent
#D4129A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F55E3

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

Preview Lab → · Contrast checker → · Palette generator →

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