#7A5BDB#7A5BDB

#7A5BDB is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.9% C 0.187 H 290.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7A5BDB
RGBrgb(122, 91, 219)
HSLhsl(255, 64%, 61%)
HSVhsv(255, 58%, 86%)
CMYKcmyk(44.3%, 58.4%, 0%, 14.1%)
CIE-LABlab(47.92, 42.90, -61.53)
CIE-LCHlch(47.92, 75.01, 304.88°)
OKLaboklab(56.91% 0.0651 -0.1755)
OKLCHoklch(56.91% 0.187 290.3)
XYZxyz(24.5497, 16.7334, 68.9405)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5BDB #BCDB5B
analogous
#5B7CDB #7A5BDB #BA5BDB
triadic
#7A5BDB #DB7A5B #5BDB7A
tetradic
#7A5BDB #DB5B7C #BCDB5B #5BDBBA
square
#7A5BDB #DB5B7C #BCDB5B #5BDBBA
split-complementary
#7A5BDB #DBBA5B #7CDB5B
monochromatic
#3F229A #532DCC #7A5BDB #A38DE6 #CBBFF1

Accessibility & contrast

On white

4.83
#7A5BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7A5BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5BDB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5BDB#FFFFFF#000000##FFFFFF
##7A5BDB1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#006FD8
Tritanopia (blue-blind)
#5D7892
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a5bdb;
/* rgb */ color: rgb(122, 91, 219);
/* oklch */ color: oklch(56.9% 0.187 290.3);
Tailwind
colors: {
  custom: {
    50: '#a78ae7',
    500: '#7a5bdb',
    950: '#000000',
  },
}
SCSS
$custom: #7a5bdb;
$custom-light: #a78ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5bdb",
  "rgb": {
    "r": 122,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 254.531,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56906,
    "c": 0.1872,
    "h": 290.3
  },
  "luminance": 0.16734
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A5BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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