#7F60F5#7F60F5

#7F60F5 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.0% C 0.213 H 287.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7F60F5
RGBrgb(127, 96, 245)
HSLhsl(252, 88%, 67%)
HSVhsv(252, 61%, 96%)
CMYKcmyk(48.2%, 60.8%, 0%, 3.9%)
CIE-LABlab(51.23, 48.40, -70.79)
CIE-LCHlch(51.23, 85.75, 304.36°)
OKLaboklab(60% 0.065 -0.2026)
OKLCHoklch(60% 0.213 287.8)
XYZxyz(29.4119, 19.4690, 88.5767)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F60F5 #D6F560
analogous
#608CF5 #7F60F5 #C960F5
triadic
#7F60F5 #F57F60 #60F57F
tetradic
#7F60F5 #F5608C #D6F560 #60F5C9
square
#7F60F5 #F5608C #D6F560 #60F5C9
split-complementary
#7F60F5 #F5C960 #8CF560
monochromatic
#350DCE #5126F1 #7F60F5 #AD9AF9 #DCD3FC

Accessibility & contrast

On white

4.29
#7F60F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7F60F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F60F5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F60F5#FFFFFF#000000##000000
##7F60F51.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#5783A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7f60f5;
/* rgb */ color: rgb(127, 96, 245);
/* oklch */ color: oklch(60.0% 0.213 287.8);
Tailwind
colors: {
  custom: {
    50: '#ac8ef9',
    500: '#7f60f5',
    950: '#000000',
  },
}
SCSS
$custom: #7f60f5;
$custom-light: #ac8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f60f5",
  "rgb": {
    "r": 127,
    "g": 96,
    "b": 245
  },
  "hsl": {
    "h": 252.483,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60003,
    "c": 0.21277,
    "h": 287.8
  },
  "luminance": 0.1947
}

Semantic roles & 50–950 ramp

primary
#7F60F5
secondary
#E6F0C1
accent
#E501B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F60F5

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

Preview Lab → · Contrast checker → · Palette generator →

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