#7E55CF#7E55CF

#7E55CF is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.5% C 0.181 H 295.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7E55CF
RGBrgb(126, 85, 207)
HSLhsl(260, 56%, 57%)
HSVhsv(260, 59%, 81%)
CMYKcmyk(39.1%, 58.9%, 0%, 18.8%)
CIE-LABlab(46.23, 43.86, -57.39)
CIE-LCHlch(46.23, 72.23, 307.39°)
OKLaboklab(55.5% 0.0775 -0.1632)
OKLCHoklch(55.5% 0.181 295.4)
XYZxyz(23.1122, 15.4371, 60.7813)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55CF #A6CF55
analogous
#5569CF #7E55CF #BB55CF
triadic
#7E55CF #CF7E55 #55CF7E
tetradic
#7E55CF #CF5569 #A6CF55 #55CFBB
square
#7E55CF #CF5569 #A6CF55 #55CFBB
split-complementary
#7E55CF #CFBB55 #69CF55
monochromatic
#452584 #5E33B4 #7E55CF #A285DC #C6B4EA

Accessibility & contrast

On white

5.14
#7E55CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7E55CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E55CF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E55CF#FFFFFF#000000##FFFFFF
##7E55CF1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#1D6CCC
Tritanopia (blue-blind)
#6A6F8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e55cf;
/* rgb */ color: rgb(126, 85, 207);
/* oklch */ color: oklch(55.5% 0.181 295.4);
Tailwind
colors: {
  custom: {
    50: '#a886de',
    500: '#7e55cf',
    950: '#000000',
  },
}
SCSS
$custom: #7e55cf;
$custom-light: #a886de;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55cf",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 260.164,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55502,
    "c": 0.18069,
    "h": 295.4
  },
  "luminance": 0.15438
}

Semantic roles & 50–950 ramp

primary
#7E55CF
secondary
#C8D9A7
accent
#DF49AD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7E55CF

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

Preview Lab → · Contrast checker → · Palette generator →

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