#7A55CD#7A55CD

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

Color values

HEX#7A55CD
RGBrgb(122, 85, 205)
HSLhsl(259, 55%, 57%)
HSVhsv(259, 59%, 80%)
CMYKcmyk(40.5%, 58.5%, 0%, 19.6%)
CIE-LABlab(45.69, 42.43, -57.12)
CIE-LCHlch(45.69, 71.16, 306.60°)
OKLaboklab(54.97% 0.0723 -0.1626)
OKLCHoklch(54.97% 0.178 294)
XYZxyz(22.2910, 15.0418, 59.4747)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A55CD #A8CD55
analogous
#556CCD #7A55CD #B655CD
triadic
#7A55CD #CD7A55 #55CD7A
tetradic
#7A55CD #CD556C #A8CD55 #55CDB6
square
#7A55CD #CD556C #A8CD55 #55CDB6
split-complementary
#7A55CD #CDB655 #6CCD55
monochromatic
#422682 #5A34B1 #7A55CD #9F84DB #C4B4E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A55CD#FFFFFF#000000##FFFFFF
##7A55CD1.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)
#016DD1
Deuteranopia (green-blind)
#1A6ACA
Tritanopia (blue-blind)
#646F89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a55cd;
/* rgb */ color: rgb(122, 85, 205);
/* oklch */ color: oklch(55.0% 0.178 294.0);
Tailwind
colors: {
  custom: {
    50: '#a686dd',
    500: '#7a55cd',
    950: '#000000',
  },
}
SCSS
$custom: #7a55cd;
$custom-light: #a686dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a55cd",
  "rgb": {
    "r": 122,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 258.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54973,
    "c": 0.17792,
    "h": 294
  },
  "luminance": 0.15042
}

Semantic roles & 50–950 ramp

primary
#7A55CD
secondary
#C8D7A6
accent
#DE4AB0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A55CD

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

Preview Lab → · Contrast checker → · Palette generator →

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