#7F56F0#7F56F0

#7F56F0 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.1% C 0.219 H 290.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7F56F0
RGBrgb(127, 86, 240)
HSLhsl(256, 84%, 64%)
HSVhsv(256, 64%, 94%)
CMYKcmyk(47.1%, 64.2%, 0%, 5.9%)
CIE-LABlab(48.83, 52.47, -71.89)
CIE-LCHlch(48.83, 89.00, 306.12°)
OKLaboklab(58.15% 0.0754 -0.2058)
OKLCHoklch(58.15% 0.219 290.1)
XYZxyz(27.8039, 17.4578, 84.3259)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F56F0 #C7F056
analogous
#567AF0 #7F56F0 #CC56F0
triadic
#7F56F0 #F07F56 #56F07F
tetradic
#7F56F0 #F0567A #C7F056 #56F0CC
square
#7F56F0 #F0567A #C7F056 #56F0CC
split-complementary
#7F56F0 #F0CC56 #7AF056
monochromatic
#3E11BB #541EEB #7F56F0 #AA8EF5 #D4C6FA

Accessibility & contrast

On white

4.68
#7F56F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7F56F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F56F0
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F56F0#FFFFFF#000000##FFFFFF
##7F56F01.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F5
Deuteranopia (green-blind)
#0070ED
Tritanopia (blue-blind)
#5B7B9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f56f0;
/* rgb */ color: rgb(127, 86, 240);
/* oklch */ color: oklch(58.1% 0.219 290.1);
Tailwind
colors: {
  custom: {
    50: '#ac88f6',
    500: '#7f56f0',
    950: '#000000',
  },
}
SCSS
$custom: #7f56f0;
$custom-light: #ac88f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f56f0",
  "rgb": {
    "r": 127,
    "g": 86,
    "b": 240
  },
  "hsl": {
    "h": 255.974,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58147,
    "c": 0.21923,
    "h": 290.1
  },
  "luminance": 0.17459
}

Semantic roles & 50–950 ramp

primary
#7F56F0
secondary
#DEECB6
accent
#E005A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F56F0

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

Preview Lab → · Contrast checker → · Palette generator →

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