#7F56F9#7F56F9

#7F56F9 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.230 H 288.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7F56F9
RGBrgb(127, 86, 249)
HSLhsl(255, 93%, 66%)
HSVhsv(255, 65%, 98%)
CMYKcmyk(49%, 65.5%, 0%, 2.4%)
CIE-LABlab(49.50, 54.94, -75.83)
CIE-LCHlch(49.50, 93.64, 305.92°)
OKLaboklab(58.84% 0.0744 -0.2174)
OKLCHoklch(58.84% 0.23 288.9)
XYZxyz(29.1741, 18.0059, 91.5424)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F56F9 #D0F956
analogous
#567EF9 #7F56F9 #D056F9
triadic
#7F56F9 #F97F56 #56F97F
tetradic
#7F56F9 #F9567E #D0F956 #56F9D0
square
#7F56F9 #F9567E #D0F956 #56F9D0
split-complementary
#7F56F9 #F9D056 #7EF956
monochromatic
#3907CD #521BF7 #7F56F9 #AC91FB #D9CCFD

Accessibility & contrast

On white

4.56
#7F56F9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7F56F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F56F9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F56F9#FFFFFF#000000##000000
##7F56F91.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FE
Deuteranopia (green-blind)
#0072F6
Tritanopia (blue-blind)
#557EA0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f56f9;
/* rgb */ color: rgb(127, 86, 249);
/* oklch */ color: oklch(58.8% 0.230 288.9);
Tailwind
colors: {
  custom: {
    50: '#ad88fc',
    500: '#7f56f9',
    950: '#000000',
  },
}
SCSS
$custom: #7f56f9;
$custom-light: #ad88fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f56f9",
  "rgb": {
    "r": 127,
    "g": 86,
    "b": 249
  },
  "hsl": {
    "h": 255.092,
    "s": 93.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58841,
    "c": 0.22978,
    "h": 288.9
  },
  "luminance": 0.18007
}

Semantic roles & 50–950 ramp

primary
#7F56F9
secondary
#E3F1BA
accent
#E600AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7F56F9

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

Preview Lab → · Contrast checker → · Palette generator →

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