#7F56EE#7F56EE

#7F56EE is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.0% C 0.217 H 290.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7F56EE
RGBrgb(127, 86, 238)
HSLhsl(256, 82%, 64%)
HSVhsv(256, 64%, 93%)
CMYKcmyk(46.6%, 63.9%, 0%, 6.7%)
CIE-LABlab(48.69, 51.92, -71.00)
CIE-LCHlch(48.69, 87.96, 306.17°)
OKLaboklab(58% 0.0756 -0.2032)
OKLCHoklch(58% 0.217 290.4)
XYZxyz(27.5084, 17.3396, 82.7698)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F56EE #C5EE56
analogous
#5679EE #7F56EE #CB56EE
triadic
#7F56EE #EE7F56 #56EE7F
tetradic
#7F56EE #EE5679 #C5EE56 #56EECB
square
#7F56EE #EE5679 #C5EE56 #56EECB
split-complementary
#7F56EE #EECB56 #79EE56
monochromatic
#3F12B7 #551EE8 #7F56EE #A98EF4 #D3C5F9

Accessibility & contrast

On white

4.70
#7F56EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7F56EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F56EE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F56EE#FFFFFF#000000##FFFFFF
##7F56EE1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#0070EB
Tritanopia (blue-blind)
#5C7A9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f56ee;
/* rgb */ color: rgb(127, 86, 238);
/* oklch */ color: oklch(58.0% 0.217 290.4);
Tailwind
colors: {
  custom: {
    50: '#ac88f5',
    500: '#7f56ee',
    950: '#000000',
  },
}
SCSS
$custom: #7f56ee;
$custom-light: #ac88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f56ee",
  "rgb": {
    "r": 127,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 256.184,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57995,
    "c": 0.21687,
    "h": 290.4
  },
  "luminance": 0.17341
}

Semantic roles & 50–950 ramp

primary
#7F56EE
secondary
#DCEBB5
accent
#DE07A4
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F56EE

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

Preview Lab → · Contrast checker → · Palette generator →

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