#7C55DC#7C55DC

#7C55DC is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.2% C 0.197 H 292.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7C55DC
RGBrgb(124, 85, 220)
HSLhsl(257, 66%, 60%)
HSVhsv(257, 61%, 86%)
CMYKcmyk(43.6%, 61.4%, 0%, 13.7%)
CIE-LABlab(46.91, 46.95, -63.73)
CIE-LCHlch(46.91, 79.16, 306.38°)
OKLaboklab(56.23% 0.0742 -0.1819)
OKLCHoklch(56.23% 0.197 292.2)
XYZxyz(24.4754, 15.9486, 69.4851)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C55DC #B5DC55
analogous
#5572DC #7C55DC #BF55DC
triadic
#7C55DC #DC7C55 #55DC7C
tetradic
#7C55DC #DC5572 #B5DC55 #55DCBF
square
#7C55DC #DC5572 #B5DC55 #55DCBF
split-complementary
#7C55DC #DCBF55 #72DC55
monochromatic
#421F97 #582ACA #7C55DC #A388E6 #CABBF1

Accessibility & contrast

On white

5.01
#7C55DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7C55DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C55DC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C55DC#FFFFFF#000000##FFFFFF
##7C55DC1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#607491
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7c55dc;
/* rgb */ color: rgb(124, 85, 220);
/* oklch */ color: oklch(56.2% 0.197 292.2);
Tailwind
colors: {
  custom: {
    50: '#a887e8',
    500: '#7c55dc',
    950: '#000000',
  },
}
SCSS
$custom: #7c55dc;
$custom-light: #a887e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c55dc",
  "rgb": {
    "r": 124,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 257.333,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56231,
    "c": 0.19651,
    "h": 292.2
  },
  "luminance": 0.15949
}

Semantic roles & 50–950 ramp

primary
#7C55DC
secondary
#D1E0AC
accent
#E93FB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7C55DC

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

Preview Lab → · Contrast checker → · Palette generator →

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