#7F55E4#7F55E4

#7F55E4 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.1% C 0.206 H 292.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7F55E4
RGBrgb(127, 85, 228)
HSLhsl(258, 73%, 61%)
HSVhsv(258, 63%, 89%)
CMYKcmyk(44.3%, 62.7%, 0%, 10.6%)
CIE-LABlab(47.76, 49.73, -66.86)
CIE-LCHlch(47.76, 83.33, 306.64°)
OKLaboklab(57.1% 0.0776 -0.1911)
OKLCHoklch(57.1% 0.206 292.1)
XYZxyz(26.0006, 16.6096, 75.2198)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F55E4 #BAE455
analogous
#5573E4 #7F55E4 #C655E4
triadic
#7F55E4 #E47F55 #55E47F
tetradic
#7F55E4 #E45573 #BAE455 #55E4C6
square
#7F55E4 #E45573 #BAE455 #55E4C6
split-complementary
#7F55E4 #E4C655 #73E455
monochromatic
#431AA4 #5823D9 #7F55E4 #A78AEC #CFBFF5

Accessibility & contrast

On white

4.86
#7F55E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7F55E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F55E4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F55E4#FFFFFF#000000##FFFFFF
##7F55E41.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#617695
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f55e4;
/* rgb */ color: rgb(127, 85, 228);
/* oklch */ color: oklch(57.1% 0.206 292.1);
Tailwind
colors: {
  custom: {
    50: '#ab87ed',
    500: '#7f55e4',
    950: '#000000',
  },
}
SCSS
$custom: #7f55e4;
$custom-light: #ab87ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7f55e4",
  "rgb": {
    "r": 127,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 257.622,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57101,
    "c": 0.20623,
    "h": 292.1
  },
  "luminance": 0.1661
}

Semantic roles & 50–950 ramp

primary
#7F55E4
secondary
#D5E5B0
accent
#D5119B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F55E4

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

Preview Lab → · Contrast checker → · Palette generator →

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