#7C5FBF#7C5FBF

#7C5FBF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.9% C 0.145 H 295.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7C5FBF
RGBrgb(124, 95, 191)
HSLhsl(258, 43%, 56%)
HSVhsv(258, 50%, 75%)
CMYKcmyk(35.1%, 50.3%, 0%, 25.1%)
CIE-LABlab(47.28, 33.35, -46.49)
CIE-LCHlch(47.28, 57.22, 305.65°)
OKLaboklab(55.92% 0.0619 -0.1313)
OKLCHoklch(55.92% 0.145 295.2)
XYZxyz(21.8060, 16.2307, 51.2641)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5FBF #A2BF5F
analogous
#5F72BF #7C5FBF #AC5FBF
triadic
#7C5FBF #BF7C5F #5FBF7C
tetradic
#7C5FBF #BF5F72 #A2BF5F #5FBFAC
square
#7C5FBF #BF5F72 #A2BF5F #5FBFAC
split-complementary
#7C5FBF #BFAC5F #72BF5F
monochromatic
#442F75 #5D40A1 #7C5FBF #A08BD0 #C4B6E2

Accessibility & contrast

On white

4.95
#7C5FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7C5FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5FBF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5FBF#FFFFFF#000000##FFFFFF
##7C5FBF1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C2
Deuteranopia (green-blind)
#426FBD
Tritanopia (blue-blind)
#6C7286
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c5fbf;
/* rgb */ color: rgb(124, 95, 191);
/* oklch */ color: oklch(55.9% 0.145 295.2);
Tailwind
colors: {
  custom: {
    50: '#a58dd3',
    500: '#7c5fbf',
    950: '#000000',
  },
}
SCSS
$custom: #7c5fbf;
$custom-light: #a58dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5fbf",
  "rgb": {
    "r": 124,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 258.125,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55915,
    "c": 0.14517,
    "h": 295.2
  },
  "luminance": 0.16231
}

Semantic roles & 50–950 ramp

primary
#7C5FBF
secondary
#C5D1A9
accent
#D355AD
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7C5FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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