#7A5FCD#7A5FCD

#7A5FCD is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.6% C 0.164 H 291.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7A5FCD
RGBrgb(122, 95, 205)
HSLhsl(255, 52%, 59%)
HSVhsv(255, 54%, 80%)
CMYKcmyk(40.5%, 53.7%, 0%, 19.6%)
CIE-LABlab(47.92, 36.68, -53.54)
CIE-LCHlch(47.92, 64.90, 304.41°)
OKLaboklab(56.62% 0.0603 -0.152)
OKLCHoklch(56.62% 0.164 291.6)
XYZxyz(23.1347, 16.7291, 59.7559)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5FCD #B2CD5F
analogous
#5F7BCD #7A5FCD #B15FCD
triadic
#7A5FCD #CD7A5F #5FCD7A
tetradic
#7A5FCD #CD5F7B #B2CD5F #5FCDB1
square
#7A5FCD #CD5F7B #B2CD5F #5FCDB1
split-complementary
#7A5FCD #CDB15F #7BCD5F
monochromatic
#412A87 #5839B6 #7A5FCD #A18EDC #C8BCEA

Accessibility & contrast

On white

4.83
#7A5FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7A5FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5FCD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5FCD#FFFFFF#000000##FFFFFF
##7A5FCD1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C73D1
Deuteranopia (green-blind)
#316FCB
Tritanopia (blue-blind)
#64768D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a5fcd;
/* rgb */ color: rgb(122, 95, 205);
/* oklch */ color: oklch(56.6% 0.164 291.6);
Tailwind
colors: {
  custom: {
    50: '#a58ddd',
    500: '#7a5fcd',
    950: '#000000',
  },
}
SCSS
$custom: #7a5fcd;
$custom-light: #a58ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5fcd",
  "rgb": {
    "r": 122,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 254.727,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56615,
    "c": 0.16356,
    "h": 291.6
  },
  "luminance": 0.1673
}

Semantic roles & 50–950 ramp

primary
#7A5FCD
secondary
#CFDAAE
accent
#DC4CB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7A5FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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