#7C5BBC#7C5BBC

#7C5BBC is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.0% C 0.147 H 297.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7C5BBC
RGBrgb(124, 91, 188)
HSLhsl(260, 42%, 55%)
HSVhsv(260, 52%, 74%)
CMYKcmyk(34%, 51.6%, 0%, 26.3%)
CIE-LABlab(46.17, 34.89, -46.51)
CIE-LCHlch(46.17, 58.14, 306.88°)
OKLaboklab(55.04% 0.0669 -0.1314)
OKLCHoklch(55.04% 0.147 297)
XYZxyz(21.1281, 15.3978, 49.4261)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5BBC #9BBC5B
analogous
#5B6BBC #7C5BBC #AC5BBC
triadic
#7C5BBC #BC7C5B #5BBC7C
tetradic
#7C5BBC #BC5B6B #9BBC5B #5BBCAC
square
#7C5BBC #BC5B6B #9BBC5B #5BBCAC
split-complementary
#7C5BBC #BCAC5B #6BBC5B
monochromatic
#442D6F #5E3F9B #7C5BBC #9F86CE #C1B2E0

Accessibility & contrast

On white

5.15
#7C5BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7C5BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5BBC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5BBC#FFFFFF#000000##FFFFFF
##7C5BBC1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376EBF
Deuteranopia (green-blind)
#3F6CBA
Tritanopia (blue-blind)
#6E6E83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c5bbc;
/* rgb */ color: rgb(124, 91, 188);
/* oklch */ color: oklch(55.0% 0.147 297.0);
Tailwind
colors: {
  custom: {
    50: '#a58ad1',
    500: '#7c5bbc',
    950: '#000000',
  },
}
SCSS
$custom: #7c5bbc;
$custom-light: #a58ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5bbc",
  "rgb": {
    "r": 124,
    "g": 91,
    "b": 188
  },
  "hsl": {
    "h": 260.412,
    "s": 41.991,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55038,
    "c": 0.14743,
    "h": 297
  },
  "luminance": 0.15398
}

Semantic roles & 50–950 ramp

primary
#7C5BBC
secondary
#C0CEA5
accent
#D256A8
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7C5BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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