#7B56EC#7B56EC

#7B56EC is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.215 H 289.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7B56EC
RGBrgb(123, 86, 236)
HSLhsl(255, 80%, 63%)
HSVhsv(255, 64%, 93%)
CMYKcmyk(47.9%, 63.6%, 0%, 7.5%)
CIE-LABlab(48.16, 50.63, -70.75)
CIE-LCHlch(48.16, 87.00, 305.59°)
OKLaboklab(57.48% 0.0706 -0.2026)
OKLCHoklch(57.48% 0.215 289.2)
XYZxyz(26.6321, 16.9216, 81.2035)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B56EC #C7EC56
analogous
#567CEC #7B56EC #C656EC
triadic
#7B56EC #EC7B56 #56EC7B
tetradic
#7B56EC #EC567C #C7EC56 #56ECC6
square
#7B56EC #EC567C #C7EC56 #56ECC6
split-complementary
#7B56EC #ECC656 #7CEC56
monochromatic
#3B14B3 #501FE6 #7B56EC #A68DF2 #D1C4F8

Accessibility & contrast

On white

4.79
#7B56EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7B56EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B56EC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B56EC#FFFFFF#000000##FFFFFF
##7B56EC1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#006FE9
Tritanopia (blue-blind)
#557A99
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b56ec;
/* rgb */ color: rgb(123, 86, 236);
/* oklch */ color: oklch(57.5% 0.215 289.2);
Tailwind
colors: {
  custom: {
    50: '#aa88f3',
    500: '#7b56ec',
    950: '#000000',
  },
}
SCSS
$custom: #7b56ec;
$custom-light: #aa88f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b56ec",
  "rgb": {
    "r": 123,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 254.8,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.5748,
    "c": 0.21455,
    "h": 289.2
  },
  "luminance": 0.16923
}

Semantic roles & 50–950 ramp

primary
#7B56EC
secondary
#DDEAB4
accent
#DC09A8
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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