#7F56FD#7F56FD

#7F56FD is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.2% C 0.234 H 288.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7F56FD
RGBrgb(127, 86, 253)
HSLhsl(255, 98%, 66%)
HSVhsv(255, 66%, 99%)
CMYKcmyk(49.8%, 66%, 0%, 0.8%)
CIE-LABlab(49.81, 56.04, -77.56)
CIE-LCHlch(49.81, 95.68, 305.85°)
OKLaboklab(59.16% 0.0738 -0.2225)
OKLCHoklch(59.16% 0.234 288.4)
XYZxyz(29.8046, 18.2581, 94.8632)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F56FD #D4FD56
analogous
#5681FD #7F56FD #D356FD
triadic
#7F56FD #FD7F56 #56FD7F
tetradic
#7F56FD #FD5681 #D4FD56 #56FDD3
square
#7F56FD #FD5681 #D4FD56 #56FDD3
split-complementary
#7F56FD #FDD356 #81FD56
monochromatic
#3603D6 #511AFC #7F56FD #AD92FE #DBCFFE

Accessibility & contrast

On white

4.51
#7F56FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7F56FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F56FD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F56FD#FFFFFF#000000##000000
##7F56FD1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0072FA
Tritanopia (blue-blind)
#5280A3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f56fd;
/* rgb */ color: rgb(127, 86, 253);
/* oklch */ color: oklch(59.2% 0.234 288.4);
Tailwind
colors: {
  custom: {
    50: '#ae88ff',
    500: '#7f56fd',
    950: '#000000',
  },
}
SCSS
$custom: #7f56fd;
$custom-light: #ae88ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f56fd",
  "rgb": {
    "r": 127,
    "g": 86,
    "b": 253
  },
  "hsl": {
    "h": 254.731,
    "s": 97.661,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59155,
    "c": 0.23444,
    "h": 288.4
  },
  "luminance": 0.18259
}

Semantic roles & 50–950 ramp

primary
#7F56FD
secondary
#E5F2BC
accent
#E600AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7F56FD

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

Preview Lab → · Contrast checker → · Palette generator →

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