#7C4BBF#7C4BBF

#7C4BBF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.175 H 299.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7C4BBF
RGBrgb(124, 75, 191)
HSLhsl(265, 48%, 52%)
HSVhsv(265, 61%, 75%)
CMYKcmyk(35.1%, 60.7%, 0%, 25.1%)
CIE-LABlab(42.88, 44.73, -53.54)
CIE-LCHlch(42.88, 69.76, 309.88°)
OKLaboklab(52.67% 0.0872 -0.152)
OKLCHoklch(52.67% 0.175 299.9)
XYZxyz(20.2299, 13.0787, 50.7387)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4BBF #8EBF4B
analogous
#4B54BF #7C4BBF #B64BBF
triadic
#7C4BBF #BF7C4B #4BBF7C
tetradic
#7C4BBF #BF4B54 #8EBF4B #4BBFB6
square
#7C4BBF #BF4B54 #8EBF4B #4BBFB6
split-complementary
#7C4BBF #BFB64B #54BF4B
monochromatic
#43266A #5F3697 #7C4BBF #9D78CF #BEA5DF

Accessibility & contrast

On white

5.81
#7C4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7C4BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4BBF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4BBF#FFFFFF#000000##FFFFFF
##7C4BBF1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2264BC
Tritanopia (blue-blind)
#6E647E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7c4bbf;
/* rgb */ color: rgb(124, 75, 191);
/* oklch */ color: oklch(52.7% 0.175 299.9);
Tailwind
colors: {
  custom: {
    50: '#a680d3',
    500: '#7c4bbf',
    950: '#000000',
  },
}
SCSS
$custom: #7c4bbf;
$custom-light: #a680d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4bbf",
  "rgb": {
    "r": 124,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 265.345,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52674,
    "c": 0.17522,
    "h": 299.9
  },
  "luminance": 0.13079
}

Semantic roles & 50–950 ramp

primary
#7C4BBF
secondary
#B7CC9A
accent
#D7519E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C4BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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