#7C54F2#7C54F2

#7C54F2 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.7% C 0.224 H 289.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7C54F2
RGBrgb(124, 84, 242)
HSLhsl(255, 86%, 64%)
HSVhsv(255, 65%, 95%)
CMYKcmyk(48.8%, 65.3%, 0%, 5.1%)
CIE-LABlab(48.30, 53.55, -73.88)
CIE-LCHlch(48.30, 91.24, 305.93°)
OKLaboklab(57.75% 0.0732 -0.2118)
OKLCHoklch(57.75% 0.224 289.1)
XYZxyz(27.5049, 17.0354, 85.8261)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C54F2 #CAF254
analogous
#547BF2 #7C54F2 #CB54F2
triadic
#7C54F2 #F27C54 #54F27C
tetradic
#7C54F2 #F2547B #CAF254 #54F2CB
square
#7C54F2 #F2547B #CAF254 #54F2CB
split-complementary
#7C54F2 #F2CB54 #7BF254
monochromatic
#3B0EBD #501BEE #7C54F2 #A88DF6 #D3C6FB

Accessibility & contrast

On white

4.76
#7C54F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7C54F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C54F2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C54F2#FFFFFF#000000##FFFFFF
##7C54F21.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#537B9C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c54f2;
/* rgb */ color: rgb(124, 84, 242);
/* oklch */ color: oklch(57.7% 0.224 289.1);
Tailwind
colors: {
  custom: {
    50: '#ab86f7',
    500: '#7c54f2',
    950: '#000000',
  },
}
SCSS
$custom: #7c54f2;
$custom-light: #ab86f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c54f2",
  "rgb": {
    "r": 124,
    "g": 84,
    "b": 242
  },
  "hsl": {
    "h": 255.19,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57746,
    "c": 0.22407,
    "h": 289.1
  },
  "luminance": 0.17037
}

Semantic roles & 50–950 ramp

primary
#7C54F2
secondary
#DFEDB5
accent
#E203AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C54F2

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

Preview Lab → · Contrast checker → · Palette generator →

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