#7A5FF8#7A5FF8

#7A5FF8 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.218 H 285.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7A5FF8
RGBrgb(122, 95, 248)
HSLhsl(251, 92%, 67%)
HSVhsv(251, 62%, 97%)
CMYKcmyk(50.8%, 61.7%, 0%, 2.7%)
CIE-LABlab(50.80, 48.89, -73.18)
CIE-LCHlch(50.80, 88.00, 303.75°)
OKLaboklab(59.65% 0.0594 -0.2098)
OKLCHoklch(59.65% 0.218 285.8)
XYZxyz(29.0565, 19.0978, 90.9439)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5FF8 #DDF85F
analogous
#5F91F8 #7A5FF8 #C65FF8
triadic
#7A5FF8 #F87A5F #5FF87A
tetradic
#7A5FF8 #F85F91 #DDF85F #5FF8C6
square
#7A5FF8 #F85F91 #DDF85F #5FF8C6
split-complementary
#7A5FF8 #F8C65F #91F85F
monochromatic
#2D09D3 #4924F5 #7A5FF8 #AB9AFB #DBD4FD

Accessibility & contrast

On white

4.36
#7A5FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7A5FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5FF8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5FF8#FFFFFF#000000##000000
##7A5FF81.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFD
Deuteranopia (green-blind)
#0074F5
Tritanopia (blue-blind)
#4A84A3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a5ff8;
/* rgb */ color: rgb(122, 95, 248);
/* oklch */ color: oklch(59.7% 0.218 285.8);
Tailwind
colors: {
  custom: {
    50: '#aa8efc',
    500: '#7a5ff8',
    950: '#000000',
  },
}
SCSS
$custom: #7a5ff8;
$custom-light: #aa8efc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5ff8",
  "rgb": {
    "r": 122,
    "g": 95,
    "b": 248
  },
  "hsl": {
    "h": 250.588,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59651,
    "c": 0.21803,
    "h": 285.8
  },
  "luminance": 0.19099
}

Semantic roles & 50–950 ramp

primary
#7A5FF8
secondary
#E9F2C1
accent
#E600BD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7A5FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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