#7C5FF5#7C5FF5

#7C5FF5 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.6% C 0.214 H 286.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7C5FF5
RGBrgb(124, 95, 245)
HSLhsl(252, 88%, 67%)
HSVhsv(252, 61%, 96%)
CMYKcmyk(49.4%, 61.2%, 0%, 3.9%)
CIE-LABlab(50.76, 48.40, -71.57)
CIE-LCHlch(50.76, 86.39, 304.07°)
OKLaboklab(59.59% 0.0622 -0.205)
OKLCHoklch(59.59% 0.214 286.9)
XYZxyz(28.8810, 19.0607, 88.5258)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5FF5 #D8F55F
analogous
#5F8DF5 #7C5FF5 #C75FF5
triadic
#7C5FF5 #F57C5F #5FF57C
tetradic
#7C5FF5 #F55F8D #D8F55F #5FF5C7
square
#7C5FF5 #F55F8D #D8F55F #5FF5C7
split-complementary
#7C5FF5 #F5C75F #8DF55F
monochromatic
#320DCD #4D25F1 #7C5FF5 #AB99F9 #DAD2FC

Accessibility & contrast

On white

4.36
#7C5FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7C5FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5FF5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5FF5#FFFFFF#000000##000000
##7C5FF51.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#0075F2
Tritanopia (blue-blind)
#5083A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c5ff5;
/* rgb */ color: rgb(124, 95, 245);
/* oklch */ color: oklch(59.6% 0.214 286.9);
Tailwind
colors: {
  custom: {
    50: '#ab8ef9',
    500: '#7c5ff5',
    950: '#000000',
  },
}
SCSS
$custom: #7c5ff5;
$custom-light: #ab8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5ff5",
  "rgb": {
    "r": 124,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 251.6,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59594,
    "c": 0.21421,
    "h": 286.9
  },
  "luminance": 0.19062
}

Semantic roles & 50–950 ramp

primary
#7C5FF5
secondary
#E7F0C0
accent
#E501B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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