#7A55BE#7A55BE

#7A55BE is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.0% C 0.159 H 297.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7A55BE
RGBrgb(122, 85, 190)
HSLhsl(261, 45%, 54%)
HSVhsv(261, 55%, 75%)
CMYKcmyk(35.8%, 55.3%, 0%, 25.5%)
CIE-LABlab(44.73, 38.39, -49.99)
CIE-LCHlch(44.73, 63.03, 307.53°)
OKLaboklab(53.96% 0.0722 -0.1416)
OKLCHoklch(53.96% 0.159 297)
XYZxyz(20.5665, 14.3520, 50.3919)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A55BE #99BE55
analogous
#5565BE #7A55BE #AF55BE
triadic
#7A55BE #BE7A55 #55BE7A
tetradic
#7A55BE #BE5565 #99BE55 #55BEAF
square
#7A55BE #BE5565 #99BE55 #55BEAF
split-complementary
#7A55BE #BEAF55 #65BE55
monochromatic
#422A6E #5D3B9B #7A55BE #9D81CF #BFAEE0

Accessibility & contrast

On white

5.43
#7A55BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7A55BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A55BE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A55BE#FFFFFF#000000##FFFFFF
##7A55BE1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266AC2
Deuteranopia (green-blind)
#3269BC
Tritanopia (blue-blind)
#6A6A81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a55be;
/* rgb */ color: rgb(122, 85, 190);
/* oklch */ color: oklch(54.0% 0.159 297.0);
Tailwind
colors: {
  custom: {
    50: '#a486d2',
    500: '#7a55be',
    950: '#000000',
  },
}
SCSS
$custom: #7a55be;
$custom-light: #a486d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a55be",
  "rgb": {
    "r": 122,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 261.143,
    "s": 44.681,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53962,
    "c": 0.15897,
    "h": 297
  },
  "luminance": 0.14352
}

Semantic roles & 50–950 ramp

primary
#7A55BE
secondary
#BECEA1
accent
#D453A7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7A55BE

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

Preview Lab → · Contrast checker → · Palette generator →

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