#7C5BBF#7C5BBF

#7C5BBF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.2% C 0.151 H 296.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7C5BBF
RGBrgb(124, 91, 191)
HSLhsl(260, 44%, 55%)
HSVhsv(260, 52%, 75%)
CMYKcmyk(35.1%, 52.4%, 0%, 25.1%)
CIE-LABlab(46.35, 35.69, -47.97)
CIE-LCHlch(46.35, 59.79, 306.65°)
OKLaboklab(55.23% 0.0671 -0.1356)
OKLCHoklch(55.23% 0.151 296.3)
XYZxyz(21.4549, 15.5285, 51.1471)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5BBF #9EBF5B
analogous
#5B6CBF #7C5BBF #AE5BBF
triadic
#7C5BBF #BF7C5B #5BBF7C
tetradic
#7C5BBF #BF5B6C #9EBF5B #5BBFAE
square
#7C5BBF #BF5B6C #9EBF5B #5BBFAE
split-complementary
#7C5BBF #BFAE5B #6CBF5B
monochromatic
#442D73 #5E3E9F #7C5BBF #9F87D0 #C2B3E1

Accessibility & contrast

On white

5.11
#7C5BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7C5BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5BBF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5BBF#FFFFFF#000000##FFFFFF
##7C5BBF1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346EC2
Deuteranopia (green-blind)
#3C6DBD
Tritanopia (blue-blind)
#6D6F84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c5bbf;
/* rgb */ color: rgb(124, 91, 191);
/* oklch */ color: oklch(55.2% 0.151 296.3);
Tailwind
colors: {
  custom: {
    50: '#a58ad3',
    500: '#7c5bbf',
    950: '#000000',
  },
}
SCSS
$custom: #7c5bbf;
$custom-light: #a58ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5bbf",
  "rgb": {
    "r": 124,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 259.8,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55226,
    "c": 0.15135,
    "h": 296.3
  },
  "luminance": 0.15529
}

Semantic roles & 50–950 ramp

primary
#7C5BBF
secondary
#C2D0A6
accent
#D454AA
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7C5BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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