#7C5FF8#7C5FF8

#7C5FF8 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.218 H 286.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7C5FF8
RGBrgb(124, 95, 248)
HSLhsl(251, 92%, 67%)
HSVhsv(251, 62%, 97%)
CMYKcmyk(50%, 61.7%, 0%, 2.7%)
CIE-LABlab(50.97, 49.25, -72.89)
CIE-LCHlch(50.97, 87.97, 304.05°)
OKLaboklab(59.82% 0.062 -0.2089)
OKLCHoklch(59.82% 0.218 286.5)
XYZxyz(29.3427, 19.2454, 90.9574)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5FF8 #DBF85F
analogous
#5F8EF8 #7C5FF8 #C95FF8
triadic
#7C5FF8 #F87C5F #5FF87C
tetradic
#7C5FF8 #F85F8E #DBF85F #5FF8C9
square
#7C5FF8 #F85F8E #DBF85F #5FF8C9
split-complementary
#7C5FF8 #F8C95F #8EF85F
monochromatic
#3009D3 #4C24F5 #7C5FF8 #AC9AFB #DCD4FD

Accessibility & contrast

On white

4.33
#7C5FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7C5FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5FF8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5FF8#FFFFFF#000000##000000
##7C5FF81.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFD
Deuteranopia (green-blind)
#0075F5
Tritanopia (blue-blind)
#4E84A3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c5ff8;
/* rgb */ color: rgb(124, 95, 248);
/* oklch */ color: oklch(59.8% 0.218 286.5);
Tailwind
colors: {
  custom: {
    50: '#ab8efc',
    500: '#7c5ff8',
    950: '#000000',
  },
}
SCSS
$custom: #7c5ff8;
$custom-light: #ab8efc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5ff8",
  "rgb": {
    "r": 124,
    "g": 95,
    "b": 248
  },
  "hsl": {
    "h": 251.373,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59818,
    "c": 0.21787,
    "h": 286.5
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

primary
#7C5FF8
secondary
#E8F2C1
accent
#E600BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7C5FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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