#7C5BDB#7C5BDB

#7C5BDB is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.1% C 0.187 H 291.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7C5BDB
RGBrgb(124, 91, 219)
HSLhsl(255, 64%, 61%)
HSVhsv(255, 58%, 86%)
CMYKcmyk(43.4%, 58.4%, 0%, 14.1%)
CIE-LABlab(48.11, 43.32, -61.22)
CIE-LCHlch(48.11, 74.99, 305.29°)
OKLaboklab(57.09% 0.0676 -0.1745)
OKLCHoklch(57.09% 0.187 291.2)
XYZxyz(24.8359, 16.8809, 68.9539)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5BDB #BADB5B
analogous
#5B7ADB #7C5BDB #BC5BDB
triadic
#7C5BDB #DB7C5B #5BDB7C
tetradic
#7C5BDB #DB5B7A #BADB5B #5BDBBC
square
#7C5BDB #DB5B7A #BADB5B #5BDBBC
split-complementary
#7C5BDB #DBBC5B #7ADB5B
monochromatic
#41229A #562DCC #7C5BDB #A48DE6 #CCBFF1

Accessibility & contrast

On white

4.80
#7C5BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7C5BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5BDB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5BDB#FFFFFF#000000##FFFFFF
##7C5BDB1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#096FD8
Tritanopia (blue-blind)
#617792
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7c5bdb;
/* rgb */ color: rgb(124, 91, 219);
/* oklch */ color: oklch(57.1% 0.187 291.2);
Tailwind
colors: {
  custom: {
    50: '#a88be7',
    500: '#7c5bdb',
    950: '#000000',
  },
}
SCSS
$custom: #7c5bdb;
$custom-light: #a88be7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5bdb",
  "rgb": {
    "r": 124,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 255.469,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57088,
    "c": 0.1872,
    "h": 291.2
  },
  "luminance": 0.16882
}

Semantic roles & 50–950 ramp

primary
#7C5BDB
secondary
#D5E1B1
accent
#CC1A9E
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7C5BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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