#7A5FF0#7A5FF0

#7A5FF0 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.1% C 0.208 H 286.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7A5FF0
RGBrgb(122, 95, 240)
HSLhsl(251, 83%, 66%)
HSVhsv(251, 60%, 94%)
CMYKcmyk(49.2%, 60.4%, 0%, 5.9%)
CIE-LABlab(50.23, 46.59, -69.64)
CIE-LCHlch(50.23, 83.78, 303.78°)
OKLaboklab(59.05% 0.0599 -0.1994)
OKLCHoklch(59.05% 0.208 286.7)
XYZxyz(27.8418, 18.6120, 84.5466)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5FF0 #D5F05F
analogous
#5F8DF0 #7A5FF0 #C25FF0
triadic
#7A5FF0 #F07A5F #5FF07A
tetradic
#7A5FF0 #F05F8D #D5F05F #5FF0C2
square
#7A5FF0 #F05F8D #D5F05F #5FF0C2
split-complementary
#7A5FF0 #F0C25F #8DF05F
monochromatic
#3312C2 #4B27EB #7A5FF0 #A997F5 #D7CFFA

Accessibility & contrast

On white

4.45
#7A5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7A5FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5FF0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5FF0#FFFFFF#000000##000000
##7A5FF01.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF5
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#50819F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a5ff0;
/* rgb */ color: rgb(122, 95, 240);
/* oklch */ color: oklch(59.1% 0.208 286.7);
Tailwind
colors: {
  custom: {
    50: '#a98df6',
    500: '#7a5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #7a5ff0;
$custom-light: #a98df6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5ff0",
  "rgb": {
    "r": 122,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 251.172,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59054,
    "c": 0.20818,
    "h": 286.7
  },
  "luminance": 0.18613
}

Semantic roles & 50–950 ramp

primary
#7A5FF0
secondary
#E5EEBD
accent
#DF06B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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