#7E55C7#7E55C7

#7E55C7 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.0% C 0.171 H 297.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7E55C7
RGBrgb(126, 85, 199)
HSLhsl(262, 50%, 56%)
HSVhsv(262, 57%, 78%)
CMYKcmyk(36.7%, 57.3%, 0%, 22%)
CIE-LABlab(45.71, 41.74, -53.61)
CIE-LCHlch(45.71, 67.95, 307.90°)
OKLaboklab(54.96% 0.0776 -0.1521)
OKLCHoklch(54.96% 0.171 297)
XYZxyz(22.1589, 15.0558, 55.7604)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55C7 #9EC755
analogous
#5565C7 #7E55C7 #B755C7
triadic
#7E55C7 #C77E55 #55C77E
tetradic
#7E55C7 #C75565 #9EC755 #55C7B7
square
#7E55C7 #C75565 #9EC755 #55C7B7
split-complementary
#7E55C7 #C7B755 #65C755
monochromatic
#45287A #6037A8 #7E55C7 #A183D6 #C4B1E5

Accessibility & contrast

On white

5.24
#7E55C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7E55C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E55C7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E55C7#FFFFFF#000000##FFFFFF
##7E55C71.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6DCB
Deuteranopia (green-blind)
#2B6BC4
Tritanopia (blue-blind)
#6D6D86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e55c7;
/* rgb */ color: rgb(126, 85, 199);
/* oklch */ color: oklch(55.0% 0.171 297.0);
Tailwind
colors: {
  custom: {
    50: '#a886d9',
    500: '#7e55c7',
    950: '#000000',
  },
}
SCSS
$custom: #7e55c7;
$custom-light: #a886d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55c7",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 199
  },
  "hsl": {
    "h": 261.579,
    "s": 50.442,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54958,
    "c": 0.17078,
    "h": 297
  },
  "luminance": 0.15056
}

Semantic roles & 50–950 ramp

primary
#7E55C7
secondary
#C3D4A4
accent
#DA4EA8
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7E55C7

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

Preview Lab → · Contrast checker → · Palette generator →

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