#7D56CF#7D56CF

#7D56CF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.6% C 0.179 H 294.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7D56CF
RGBrgb(125, 86, 207)
HSLhsl(259, 56%, 57%)
HSVhsv(259, 58%, 81%)
CMYKcmyk(39.6%, 58.5%, 0%, 18.8%)
CIE-LABlab(46.34, 43.08, -57.21)
CIE-LCHlch(46.34, 71.62, 306.98°)
OKLaboklab(55.56% 0.075 -0.1628)
OKLCHoklch(55.56% 0.179 294.7)
XYZxyz(23.0448, 15.5200, 60.8009)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D56CF #A8CF56
analogous
#566CCF #7D56CF #BA56CF
triadic
#7D56CF #CF7D56 #56CF7D
tetradic
#7D56CF #CF566C #A8CF56 #56CFBA
square
#7D56CF #CF566C #A8CF56 #56CFBA
split-complementary
#7D56CF #CFBA56 #6CCF56
monochromatic
#442685 #5D33B5 #7D56CF #A286DD #C6B5EA

Accessibility & contrast

On white

5.12
#7D56CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7D56CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D56CF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D56CF#FFFFFF#000000##FFFFFF
##7D56CF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046FD3
Deuteranopia (green-blind)
#1E6CCC
Tritanopia (blue-blind)
#68708A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d56cf;
/* rgb */ color: rgb(125, 86, 207);
/* oklch */ color: oklch(55.6% 0.179 294.7);
Tailwind
colors: {
  custom: {
    50: '#a887de',
    500: '#7d56cf',
    950: '#000000',
  },
}
SCSS
$custom: #7d56cf;
$custom-light: #a887de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d56cf",
  "rgb": {
    "r": 125,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 259.339,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5556,
    "c": 0.1792,
    "h": 294.7
  },
  "luminance": 0.15521
}

Semantic roles & 50–950 ramp

primary
#7D56CF
secondary
#C9D9A8
accent
#DF49AF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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