#7E55DB#7E55DB

#7E55DB is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.3% C 0.195 H 293.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7E55DB
RGBrgb(126, 85, 219)
HSLhsl(258, 65%, 60%)
HSVhsv(258, 61%, 86%)
CMYKcmyk(42.5%, 61.2%, 0%, 14.1%)
CIE-LABlab(47.04, 47.09, -62.94)
CIE-LCHlch(47.04, 78.61, 306.80°)
OKLaboklab(56.35% 0.0769 -0.1796)
OKLCHoklch(56.35% 0.195 293.2)
XYZxyz(24.6354, 16.0464, 68.8034)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E55DB #B2DB55
analogous
#556FDB #7E55DB #C155DB
triadic
#7E55DB #DB7E55 #55DB7E
tetradic
#7E55DB #DB556F #B2DB55 #55DBC1
square
#7E55DB #DB556F #B2DB55 #55DBC1
split-complementary
#7E55DB #DBC155 #6FDB55
monochromatic
#442096 #5B2AC8 #7E55DB #A488E6 #CBBAF0

Accessibility & contrast

On white

4.99
#7E55DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7E55DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E55DB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E55DB#FFFFFF#000000##FFFFFF
##7E55DB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#647390
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e55db;
/* rgb */ color: rgb(126, 85, 219);
/* oklch */ color: oklch(56.3% 0.195 293.2);
Tailwind
colors: {
  custom: {
    50: '#aa87e7',
    500: '#7e55db',
    950: '#000000',
  },
}
SCSS
$custom: #7e55db;
$custom-light: #aa87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e55db",
  "rgb": {
    "r": 126,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 258.358,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56349,
    "c": 0.19536,
    "h": 293.2
  },
  "luminance": 0.16047
}

Semantic roles & 50–950 ramp

primary
#7E55DB
secondary
#D0E0AC
accent
#E840B5
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7E55DB

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

Preview Lab → · Contrast checker → · Palette generator →

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