#7F60E2#7F60E2

#7F60E2 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.6% C 0.189 H 290.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7F60E2
RGBrgb(127, 96, 226)
HSLhsl(254, 69%, 63%)
HSVhsv(254, 58%, 89%)
CMYKcmyk(43.8%, 57.5%, 0%, 11.4%)
CIE-LABlab(49.94, 43.07, -62.21)
CIE-LCHlch(49.94, 75.67, 304.70°)
OKLaboklab(58.65% 0.0657 -0.1774)
OKLCHoklch(58.65% 0.189 290.3)
XYZxyz(26.6589, 18.3678, 74.0775)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F60E2 #C3E260
analogous
#6082E2 #7F60E2 #C060E2
triadic
#7F60E2 #E27F60 #60E27F
tetradic
#7F60E2 #E26082 #C3E260 #60E2C0
square
#7F60E2 #E26082 #C3E260 #60E2C0
split-complementary
#7F60E2 #E2C060 #82E260
monochromatic
#401FA9 #552CD9 #7F60E2 #A994EB #D2C8F5

Accessibility & contrast

On white

4.49
#7F60E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#7F60E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F60E2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F60E2#FFFFFF#000000##000000
##7F60E21.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#1074DF
Tritanopia (blue-blind)
#627D98
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7f60e2;
/* rgb */ color: rgb(127, 96, 226);
/* oklch */ color: oklch(58.6% 0.189 290.3);
Tailwind
colors: {
  custom: {
    50: '#aa8eec',
    500: '#7f60e2',
    950: '#000000',
  },
}
SCSS
$custom: #7f60e2;
$custom-light: #aa8eec;
$custom-dark: #000000;
JSON
{
  "hex": "#7f60e2",
  "rgb": {
    "r": 127,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 254.308,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58646,
    "c": 0.18917,
    "h": 290.3
  },
  "luminance": 0.18369
}

Semantic roles & 50–950 ramp

primary
#7F60E2
secondary
#DBE6B8
accent
#D114A4
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7F60E2

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

Preview Lab → · Contrast checker → · Palette generator →

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