#7C47E9#7C47E9

#7C47E9 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.3% C 0.229 H 292.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7C47E9
RGBrgb(124, 71, 233)
HSLhsl(260, 79%, 60%)
HSVhsv(260, 70%, 91%)
CMYKcmyk(46.8%, 69.5%, 0%, 8.6%)
CIE-LABlab(45.18, 57.78, -73.90)
CIE-LCHlch(45.18, 93.81, 308.02°)
OKLaboklab(55.29% 0.0865 -0.2118)
OKLCHoklch(55.29% 0.229 292.2)
XYZxyz(25.2693, 14.6739, 78.5759)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C47E9 #B4E947
analogous
#4763E9 #7C47E9 #CD47E9
triadic
#7C47E9 #E97C47 #47E97C
tetradic
#7C47E9 #E94763 #B4E947 #47E9CD
square
#7C47E9 #E94763 #B4E947 #47E9CD
split-complementary
#7C47E9 #E9CD47 #63E947
monochromatic
#4213A2 #581AD9 #7C47E9 #A37EF0 #CAB4F6

Accessibility & contrast

On white

5.34
#7C47E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7C47E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C47E9
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C47E9#FFFFFF#000000##FFFFFF
##7C47E91.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEE
Deuteranopia (green-blind)
#0068E6
Tritanopia (blue-blind)
#5A7093
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c47e9;
/* rgb */ color: rgb(124, 71, 233);
/* oklch */ color: oklch(55.3% 0.229 292.2);
Tailwind
colors: {
  custom: {
    50: '#ab7ef1',
    500: '#7c47e9',
    950: '#000000',
  },
}
SCSS
$custom: #7c47e9;
$custom-light: #ab7ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c47e9",
  "rgb": {
    "r": 124,
    "g": 71,
    "b": 233
  },
  "hsl": {
    "h": 259.63,
    "s": 78.641,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55294,
    "c": 0.22883,
    "h": 292.2
  },
  "luminance": 0.14675
}

Semantic roles & 50–950 ramp

primary
#7C47E9
secondary
#D1E5A6
accent
#F533B6
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7C47E9

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

Preview Lab → · Contrast checker → · Palette generator →

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