#7A5CF2#7A5CF2

#7A5CF2 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.7% C 0.214 H 287.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7A5CF2
RGBrgb(122, 92, 242)
HSLhsl(252, 85%, 65%)
HSVhsv(252, 62%, 95%)
CMYKcmyk(49.6%, 62%, 0%, 5.1%)
CIE-LABlab(49.74, 48.84, -71.55)
CIE-LCHlch(49.74, 86.63, 304.32°)
OKLaboklab(58.74% 0.0628 -0.205)
OKLCHoklch(58.74% 0.214 287)
XYZxyz(27.8755, 18.2014, 86.0316)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5CF2 #D4F25C
analogous
#5C89F2 #7A5CF2 #C55CF2
triadic
#7A5CF2 #F27A5C #5CF27A
tetradic
#7A5CF2 #F25C89 #D4F25C #5CF2C5
square
#7A5CF2 #F25C89 #D4F25C #5CF2C5
split-complementary
#7A5CF2 #F2C55C #89F25C
monochromatic
#3410C4 #4C23ED #7A5CF2 #A895F7 #D6CDFB

Accessibility & contrast

On white

4.53
#7A5CF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7A5CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5CF2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5CF2#FFFFFF#000000##000000
##7A5CF21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0072EF
Tritanopia (blue-blind)
#4F809F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a5cf2;
/* rgb */ color: rgb(122, 92, 242);
/* oklch */ color: oklch(58.7% 0.214 287.0);
Tailwind
colors: {
  custom: {
    50: '#a98cf7',
    500: '#7a5cf2',
    950: '#000000',
  },
}
SCSS
$custom: #7a5cf2;
$custom-light: #a98cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5cf2",
  "rgb": {
    "r": 122,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 252,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58741,
    "c": 0.21441,
    "h": 287
  },
  "luminance": 0.18203
}

Semantic roles & 50–950 ramp

primary
#7A5CF2
secondary
#E4EEBC
accent
#E204B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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