#7C5FF7#7C5FF7

#7C5FF7 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.7% C 0.217 H 286.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7C5FF7
RGBrgb(124, 95, 247)
HSLhsl(251, 90%, 67%)
HSVhsv(251, 62%, 97%)
CMYKcmyk(49.8%, 61.5%, 0%, 3.1%)
CIE-LABlab(50.90, 48.97, -72.45)
CIE-LCHlch(50.90, 87.44, 304.05°)
OKLaboklab(59.74% 0.062 -0.2076)
OKLCHoklch(59.74% 0.217 286.6)
XYZxyz(29.1879, 19.1835, 90.1425)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5FF7 #DAF75F
analogous
#5F8EF7 #7C5FF7 #C85FF7
triadic
#7C5FF7 #F77C5F #5FF77C
tetradic
#7C5FF7 #F75F8E #DAF75F #5FF7C8
square
#7C5FF7 #F75F8E #DAF75F #5FF7C8
split-complementary
#7C5FF7 #F7C85F #8EF75F
monochromatic
#300AD1 #4C25F4 #7C5FF7 #AC99FA #DBD4FD

Accessibility & contrast

On white

4.34
#7C5FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7C5FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C5FF7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5FF7#FFFFFF#000000##000000
##7C5FF71.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#0075F4
Tritanopia (blue-blind)
#4F83A2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c5ff7;
/* rgb */ color: rgb(124, 95, 247);
/* oklch */ color: oklch(59.7% 0.217 286.6);
Tailwind
colors: {
  custom: {
    50: '#ab8efb',
    500: '#7c5ff7',
    950: '#000000',
  },
}
SCSS
$custom: #7c5ff7;
$custom-light: #ab8efb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5ff7",
  "rgb": {
    "r": 124,
    "g": 95,
    "b": 247
  },
  "hsl": {
    "h": 251.447,
    "s": 90.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59743,
    "c": 0.21665,
    "h": 286.6
  },
  "luminance": 0.19185
}

Semantic roles & 50–950 ramp

primary
#7C5FF7
secondary
#E8F1C1
accent
#E600BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C5FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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