#7A5CF0#7A5CF0

#7A5CF0 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.6% C 0.212 H 287.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7A5CF0
RGBrgb(122, 92, 240)
HSLhsl(252, 83%, 65%)
HSVhsv(252, 62%, 94%)
CMYKcmyk(49.2%, 61.7%, 0%, 5.9%)
CIE-LABlab(49.60, 48.27, -70.67)
CIE-LCHlch(49.60, 85.58, 304.34°)
OKLaboklab(58.59% 0.063 -0.2024)
OKLCHoklch(58.59% 0.212 287.3)
XYZxyz(27.5768, 18.0819, 84.4583)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5CF0 #D2F05C
analogous
#5C88F0 #7A5CF0 #C45CF0
triadic
#7A5CF0 #F07A5C #5CF07A
tetradic
#7A5CF0 #F05C88 #D2F05C #5CF0C4
square
#7A5CF0 #F05C88 #D2F05C #5CF0C4
split-complementary
#7A5CF0 #F0C45C #88F05C
monochromatic
#3512C0 #4C24EB #7A5CF0 #A894F5 #D5CCFA

Accessibility & contrast

On white

4.55
#7A5CF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7A5CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5CF0
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5CF0#FFFFFF#000000##000000
##7A5CF01.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F5
Deuteranopia (green-blind)
#0072ED
Tritanopia (blue-blind)
#507F9E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a5cf0;
/* rgb */ color: rgb(122, 92, 240);
/* oklch */ color: oklch(58.6% 0.212 287.3);
Tailwind
colors: {
  custom: {
    50: '#a98bf6',
    500: '#7a5cf0',
    950: '#000000',
  },
}
SCSS
$custom: #7a5cf0;
$custom-light: #a98bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5cf0",
  "rgb": {
    "r": 122,
    "g": 92,
    "b": 240
  },
  "hsl": {
    "h": 252.162,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58591,
    "c": 0.21197,
    "h": 287.3
  },
  "luminance": 0.18083
}

Semantic roles & 50–950 ramp

primary
#7A5CF0
secondary
#E3EDBB
accent
#E006B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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