#7C47EA#7C47EA

#7C47EA is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.4% C 0.230 H 292.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7C47EA
RGBrgb(124, 71, 234)
HSLhsl(260, 80%, 60%)
HSVhsv(260, 70%, 92%)
CMYKcmyk(47%, 69.7%, 0%, 8.2%)
CIE-LABlab(45.26, 58.04, -74.34)
CIE-LCHlch(45.26, 94.31, 307.98°)
OKLaboklab(55.38% 0.0864 -0.2131)
OKLCHoklch(55.38% 0.23 292.1)
XYZxyz(25.4125, 14.7312, 79.3304)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C47EA #B5EA47
analogous
#4764EA #7C47EA #CD47EA
triadic
#7C47EA #EA7C47 #47EA7C
tetradic
#7C47EA #EA4764 #B5EA47 #47EACD
square
#7C47EA #EA4764 #B5EA47 #47EACD
split-complementary
#7C47EA #EACD47 #64EA47
monochromatic
#4213A4 #5819DB #7C47EA #A37EF0 #CAB5F7

Accessibility & contrast

On white

5.32
#7C47EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7C47EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C47EA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C47EA#FFFFFF#000000##FFFFFF
##7C47EA1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#5A7194
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c47ea;
/* rgb */ color: rgb(124, 71, 234);
/* oklch */ color: oklch(55.4% 0.230 292.1);
Tailwind
colors: {
  custom: {
    50: '#ab7ef2',
    500: '#7c47ea',
    950: '#000000',
  },
}
SCSS
$custom: #7c47ea;
$custom-light: #ab7ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c47ea",
  "rgb": {
    "r": 124,
    "g": 71,
    "b": 234
  },
  "hsl": {
    "h": 259.509,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55375,
    "c": 0.22994,
    "h": 292.1
  },
  "luminance": 0.14732
}

Semantic roles & 50–950 ramp

primary
#7C47EA
secondary
#D1E6A7
accent
#F632B6
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7C47EA

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

Preview Lab → · Contrast checker → · Palette generator →

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