#7A5ABC#7A5ABC

#7A5ABC is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.7% C 0.149 H 296.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7A5ABC
RGBrgb(122, 90, 188)
HSLhsl(260, 42%, 55%)
HSVhsv(260, 52%, 74%)
CMYKcmyk(35.1%, 52.1%, 0%, 26.3%)
CIE-LABlab(45.74, 34.96, -47.21)
CIE-LCHlch(45.74, 58.75, 306.52°)
OKLaboklab(54.67% 0.0657 -0.1335)
OKLCHoklch(54.67% 0.149 296.2)
XYZxyz(20.7570, 15.0804, 49.3844)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5ABC #9CBC5A
analogous
#5A6BBC #7A5ABC #AB5ABC
triadic
#7A5ABC #BC7A5A #5ABC7A
tetradic
#7A5ABC #BC5A6B #9CBC5A #5ABCAB
square
#7A5ABC #BC5A6B #9CBC5A #5ABCAB
split-complementary
#7A5ABC #BCAB5A #6BBC5A
monochromatic
#422D6F #5D3F9A #7A5ABC #9D86CE #C0B1DF

Accessibility & contrast

On white

5.23
#7A5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7A5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5ABC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5ABC#FFFFFF#000000##FFFFFF
##7A5ABC1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DBF
Deuteranopia (green-blind)
#3C6BBA
Tritanopia (blue-blind)
#6B6D82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a5abc;
/* rgb */ color: rgb(122, 90, 188);
/* oklch */ color: oklch(54.7% 0.149 296.2);
Tailwind
colors: {
  custom: {
    50: '#a489d1',
    500: '#7a5abc',
    950: '#000000',
  },
}
SCSS
$custom: #7a5abc;
$custom-light: #a489d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5abc",
  "rgb": {
    "r": 122,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 259.592,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54672,
    "c": 0.14875,
    "h": 296.2
  },
  "luminance": 0.15081
}

Semantic roles & 50–950 ramp

primary
#7A5ABC
secondary
#C0CEA4
accent
#D256A9
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7A5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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