#7F60EA#7F60EA

#7F60EA is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.199 H 289.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7F60EA
RGBrgb(127, 96, 234)
HSLhsl(253, 77%, 65%)
HSVhsv(253, 59%, 92%)
CMYKcmyk(45.7%, 59%, 0%, 8.2%)
CIE-LABlab(50.47, 45.31, -65.86)
CIE-LCHlch(50.47, 79.94, 304.53°)
OKLaboklab(59.21% 0.0655 -0.1881)
OKLCHoklch(59.21% 0.199 289.2)
XYZxyz(27.7823, 18.8172, 79.9942)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F60EA #CBEA60
analogous
#6086EA #7F60EA #C460EA
triadic
#7F60EA #EA7F60 #60EA7F
tetradic
#7F60EA #EA6086 #CBEA60 #60EAC4
square
#7F60EA #EA6086 #CBEA60 #60EAC4
split-complementary
#7F60EA #EAC460 #86EA60
monochromatic
#3C18B7 #532AE3 #7F60EA #AB96F1 #D6CCF8

Accessibility & contrast

On white

4.41
#7F60EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7F60EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F60EA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F60EA#FFFFFF#000000##000000
##7F60EA1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#5D7F9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7f60ea;
/* rgb */ color: rgb(127, 96, 234);
/* oklch */ color: oklch(59.2% 0.199 289.2);
Tailwind
colors: {
  custom: {
    50: '#ab8ef2',
    500: '#7f60ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f60ea;
$custom-light: #ab8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f60ea",
  "rgb": {
    "r": 127,
    "g": 96,
    "b": 234
  },
  "hsl": {
    "h": 253.478,
    "s": 76.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59208,
    "c": 0.19919,
    "h": 289.2
  },
  "luminance": 0.18818
}

Semantic roles & 50–950 ramp

primary
#7F60EA
secondary
#E0EBBB
accent
#D90DAB
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F60EA

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

Preview Lab → · Contrast checker → · Palette generator →

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