#7F55E2#7F55E2

#7F55E2 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.0% C 0.204 H 292.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7F55E2
RGBrgb(127, 85, 226)
HSLhsl(258, 71%, 61%)
HSVhsv(258, 62%, 89%)
CMYKcmyk(43.8%, 62.4%, 0%, 11.4%)
CIE-LABlab(47.62, 49.19, -65.96)
CIE-LCHlch(47.62, 82.28, 306.71°)
OKLaboklab(56.95% 0.0778 -0.1884)
OKLCHoklch(56.95% 0.204 292.4)
XYZxyz(25.7246, 16.4992, 73.7660)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F55E2 #B8E255
analogous
#5571E2 #7F55E2 #C555E2
triadic
#7F55E2 #E27F55 #55E27F
tetradic
#7F55E2 #E25571 #B8E255 #55E2C5
square
#7F55E2 #E25571 #B8E255 #55E2C5
split-complementary
#7F55E2 #E2C555 #71E255
monochromatic
#431BA1 #5924D5 #7F55E2 #A689EB #CEBEF4

Accessibility & contrast

On white

4.88
#7F55E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7F55E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F55E2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F55E2#FFFFFF#000000##FFFFFF
##7F55E21.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#637694
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f55e2;
/* rgb */ color: rgb(127, 85, 226);
/* oklch */ color: oklch(57.0% 0.204 292.4);
Tailwind
colors: {
  custom: {
    50: '#ab87ec',
    500: '#7f55e2',
    950: '#000000',
  },
}
SCSS
$custom: #7f55e2;
$custom-light: #ab87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7f55e2",
  "rgb": {
    "r": 127,
    "g": 85,
    "b": 226
  },
  "hsl": {
    "h": 257.872,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56954,
    "c": 0.20384,
    "h": 292.4
  },
  "luminance": 0.165
}

Semantic roles & 50–950 ramp

primary
#7F55E2
secondary
#D4E4AF
accent
#D3139A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F55E2

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

Preview Lab → · Contrast checker → · Palette generator →

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