#7C5FBB#7C5FBB

#7C5FBB is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.7% C 0.140 H 296.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7C5FBB
RGBrgb(124, 95, 187)
HSLhsl(259, 40%, 55%)
HSVhsv(259, 49%, 73%)
CMYKcmyk(33.7%, 49.2%, 0%, 26.7%)
CIE-LABlab(47.05, 32.28, -44.54)
CIE-LCHlch(47.05, 55.00, 305.94°)
OKLaboklab(55.67% 0.0615 -0.1256)
OKLCHoklch(55.67% 0.14 296.1)
XYZxyz(21.3718, 16.0570, 48.9774)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5FBB #9EBB5F
analogous
#5F70BB #7C5FBB #AA5FBB
triadic
#7C5FBB #BB7C5F #5FBB7C
tetradic
#7C5FBB #BB5F70 #9EBB5F #5FBBAA
square
#7C5FBB #BB5F70 #9EBB5F #5FBBAA
split-complementary
#7C5FBB #BBAA5F #70BB5F
monochromatic
#443070 #5E429B #7C5FBB #9F8ACD #C2B5E0

Accessibility & contrast

On white

4.99
#7C5FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7C5FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5FBB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5FBB#FFFFFF#000000##FFFFFF
##7C5FBB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#456EB9
Tritanopia (blue-blind)
#6E7184
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c5fbb;
/* rgb */ color: rgb(124, 95, 187);
/* oklch */ color: oklch(55.7% 0.140 296.1);
Tailwind
colors: {
  custom: {
    50: '#a58dd0',
    500: '#7c5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #7c5fbb;
$custom-light: #a58dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5fbb",
  "rgb": {
    "r": 124,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 258.913,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55672,
    "c": 0.13983,
    "h": 296.1
  },
  "luminance": 0.16057
}

Semantic roles & 50–950 ramp

primary
#7C5FBB
secondary
#C2CEA8
accent
#D058AA
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7C5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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