#7A58FC#7A58FC

#7A58FC is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.9% C 0.231 H 286.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7A58FC
RGBrgb(122, 88, 252)
HSLhsl(252, 96%, 67%)
HSVhsv(252, 65%, 99%)
CMYKcmyk(51.6%, 65.1%, 0%, 1.2%)
CIE-LABlab(49.67, 53.86, -77.24)
CIE-LCHlch(49.67, 94.17, 304.89°)
OKLaboklab(58.92% 0.0656 -0.2217)
OKLCHoklch(58.92% 0.231 286.5)
XYZxyz(29.0812, 18.1438, 94.0463)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58FC #DAFC58
analogous
#5888FC #7A58FC #CC58FC
triadic
#7A58FC #FC7A58 #58FC7A
tetradic
#7A58FC #FC5888 #DAFC58 #58FCCC
square
#7A58FC #FC5888 #DAFC58 #58FCCC
split-complementary
#7A58FC #FCCC58 #88FC58
monochromatic
#2F04D6 #4A1CFB #7A58FC #AA94FD #DAD0FE

Accessibility & contrast

On white

4.54
#7A58FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7A58FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A58FC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58FC#FFFFFF#000000##000000
##7A58FC1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0071F9
Tritanopia (blue-blind)
#4781A3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a58fc;
/* rgb */ color: rgb(122, 88, 252);
/* oklch */ color: oklch(58.9% 0.231 286.5);
Tailwind
colors: {
  custom: {
    50: '#ab89fe',
    500: '#7a58fc',
    950: '#000000',
  },
}
SCSS
$custom: #7a58fc;
$custom-light: #ab89fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58fc",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 252
  },
  "hsl": {
    "h": 252.439,
    "s": 96.471,
    "l": 66.667
  },
  "oklch": {
    "l": 0.58924,
    "c": 0.23123,
    "h": 286.5
  },
  "luminance": 0.18145
}

Semantic roles & 50–950 ramp

primary
#7A58FC
secondary
#E7F2BD
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7A58FC

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

Preview Lab → · Contrast checker → · Palette generator →

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