#7A5CB3#7A5CB3

#7A5CB3 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.5% C 0.134 H 297.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7A5CB3
RGBrgb(122, 92, 179)
HSLhsl(261, 36%, 53%)
HSVhsv(261, 49%, 70%)
CMYKcmyk(31.8%, 48.6%, 0%, 29.8%)
CIE-LABlab(45.70, 31.40, -42.04)
CIE-LCHlch(45.70, 52.47, 306.76°)
OKLaboklab(54.47% 0.0622 -0.1183)
OKLCHoklch(54.47% 0.134 297.7)
XYZxyz(19.9879, 15.0463, 44.4903)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5CB3 #95B35C
analogous
#5C69B3 #7A5CB3 #A65CB3
triadic
#7A5CB3 #B37A5C #5CB37A
tetradic
#7A5CB3 #B35C69 #95B35C #5CB3A6
square
#7A5CB3 #B35C69 #95B35C #5CB3A6
split-complementary
#7A5CB3 #B3A65C #69B35C
monochromatic
#422F65 #5D438F #7A5CB3 #9C86C6 #BEAFDA

Accessibility & contrast

On white

5.24
#7A5CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7A5CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5CB3
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5CB3#FFFFFF#000000##FFFFFF
##7A5CB31.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB6
Deuteranopia (green-blind)
#466BB1
Tritanopia (blue-blind)
#6E6C7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a5cb3;
/* rgb */ color: rgb(122, 92, 179);
/* oklch */ color: oklch(54.5% 0.134 297.7);
Tailwind
colors: {
  custom: {
    50: '#a38bca',
    500: '#7a5cb3',
    950: '#000000',
  },
}
SCSS
$custom: #7a5cb3;
$custom-light: #a38bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5cb3",
  "rgb": {
    "r": 122,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 260.69,
    "s": 36.402,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54471,
    "c": 0.13366,
    "h": 297.7
  },
  "luminance": 0.15047
}

Semantic roles & 50–950 ramp

primary
#7A5CB3
secondary
#BBC8A3
accent
#CC5BA5
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7A5CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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