#7A5CB0#7A5CB0

#7A5CB0 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.3% C 0.130 H 298.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7A5CB0
RGBrgb(122, 92, 176)
HSLhsl(261, 35%, 53%)
HSVhsv(261, 48%, 69%)
CMYKcmyk(30.7%, 47.7%, 0%, 31%)
CIE-LABlab(45.53, 30.61, -40.54)
CIE-LCHlch(45.53, 50.80, 307.06°)
OKLaboklab(54.29% 0.0618 -0.114)
OKLCHoklch(54.29% 0.13 298.5)
XYZxyz(19.6878, 14.9263, 42.9097)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5CB0 #92B05C
analogous
#5C68B0 #7A5CB0 #A45CB0
triadic
#7A5CB0 #B07A5C #5CB07A
tetradic
#7A5CB0 #B05C68 #92B05C #5CB0A4
square
#7A5CB0 #B05C68 #92B05C #5CB0A4
split-complementary
#7A5CB0 #B0A45C #68B05C
monochromatic
#423062 #5D448B #7A5CB0 #9C85C4 #BDAED8

Accessibility & contrast

On white

5.27
#7A5CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7A5CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5CB0
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5CB0#FFFFFF#000000##FFFFFF
##7A5CB01.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416CB3
Deuteranopia (green-blind)
#486BAE
Tritanopia (blue-blind)
#6F6B7D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a5cb0;
/* rgb */ color: rgb(122, 92, 176);
/* oklch */ color: oklch(54.3% 0.130 298.5);
Tailwind
colors: {
  custom: {
    50: '#a38bc8',
    500: '#7a5cb0',
    950: '#000000',
  },
}
SCSS
$custom: #7a5cb0;
$custom-light: #a38bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5cb0",
  "rgb": {
    "r": 122,
    "g": 92,
    "b": 176
  },
  "hsl": {
    "h": 261.429,
    "s": 34.711,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54294,
    "c": 0.12964,
    "h": 298.5
  },
  "luminance": 0.14926
}

Semantic roles & 50–950 ramp

primary
#7A5CB0
secondary
#B9C6A2
accent
#CB5DA4
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7A5CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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