#7C5BBD#7C5BBD

#7C5BBD is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.1% C 0.149 H 296.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7C5BBD
RGBrgb(124, 91, 189)
HSLhsl(260, 43%, 55%)
HSVhsv(260, 52%, 74%)
CMYKcmyk(34.4%, 51.9%, 0%, 25.9%)
CIE-LABlab(46.23, 35.16, -47.00)
CIE-LCHlch(46.23, 58.69, 306.80°)
OKLaboklab(55.1% 0.067 -0.1328)
OKLCHoklch(55.1% 0.149 296.8)
XYZxyz(21.2363, 15.4411, 49.9958)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5BBD #9CBD5B
analogous
#5B6BBD #7C5BBD #AD5BBD
triadic
#7C5BBD #BD7C5B #5BBD7C
tetradic
#7C5BBD #BD5B6B #9CBD5B #5BBDAD
square
#7C5BBD #BD5B6B #9CBD5B #5BBDAD
split-complementary
#7C5BBD #BDAD5B #6BBD5B
monochromatic
#442D70 #5E3F9C #7C5BBD #9F87CF #C2B2E0

Accessibility & contrast

On white

5.14
#7C5BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7C5BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5BBD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5BBD#FFFFFF#000000##FFFFFF
##7C5BBD1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366EC0
Deuteranopia (green-blind)
#3E6CBB
Tritanopia (blue-blind)
#6D6E83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c5bbd;
/* rgb */ color: rgb(124, 91, 189);
/* oklch */ color: oklch(55.1% 0.149 296.8);
Tailwind
colors: {
  custom: {
    50: '#a58ad1',
    500: '#7c5bbd',
    950: '#000000',
  },
}
SCSS
$custom: #7c5bbd;
$custom-light: #a58ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5bbd",
  "rgb": {
    "r": 124,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 260.204,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55101,
    "c": 0.14874,
    "h": 296.8
  },
  "luminance": 0.15441
}

Semantic roles & 50–950 ramp

primary
#7C5BBD
secondary
#C1CFA5
accent
#D255A8
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7C5BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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