#7A5FEE#7A5FEE

#7A5FEE is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 58.9% C 0.206 H 287.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7A5FEE
RGBrgb(122, 95, 238)
HSLhsl(251, 81%, 65%)
HSVhsv(251, 60%, 93%)
CMYKcmyk(48.7%, 60.1%, 0%, 6.7%)
CIE-LABlab(50.09, 46.02, -68.74)
CIE-LCHlch(50.09, 82.72, 303.80°)
OKLaboklab(58.91% 0.06 -0.1967)
OKLCHoklch(58.91% 0.206 287)
XYZxyz(27.5463, 18.4938, 82.9905)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5FEE #D3EE5F
analogous
#5F8BEE #7A5FEE #C25FEE
triadic
#7A5FEE #EE7A5F #5FEE7A
tetradic
#7A5FEE #EE5F8B #D3EE5F #5FEEC2
square
#7A5FEE #EE5F8B #D3EE5F #5FEEC2
split-complementary
#7A5FEE #EEC25F #8BEE5F
monochromatic
#3414BE #4C28E8 #7A5FEE #A896F4 #D6CEFA

Accessibility & contrast

On white

4.47
#7A5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7A5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5FEE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5FEE#FFFFFF#000000##000000
##7A5FEE1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#0073EB
Tritanopia (blue-blind)
#51809E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a5fee;
/* rgb */ color: rgb(122, 95, 238);
/* oklch */ color: oklch(58.9% 0.206 287.0);
Tailwind
colors: {
  custom: {
    50: '#a98df4',
    500: '#7a5fee',
    950: '#000000',
  },
}
SCSS
$custom: #7a5fee;
$custom-light: #a98df4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5fee",
  "rgb": {
    "r": 122,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 251.329,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58907,
    "c": 0.2057,
    "h": 287
  },
  "luminance": 0.18495
}

Semantic roles & 50–950 ramp

primary
#7A5FEE
secondary
#E3ECBC
accent
#DD08B5
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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