#7A3FF0#7A3FF0

#7A3FF0 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.7% C 0.245 H 291.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7A3FF0
RGBrgb(122, 63, 240)
HSLhsl(260, 86%, 59%)
HSVhsv(260, 74%, 94%)
CMYKcmyk(49.2%, 73.8%, 0%, 5.9%)
CIE-LABlab(44.21, 63.08, -79.46)
CIE-LCHlch(44.21, 101.45, 308.44°)
OKLaboklab(54.73% 0.089 -0.2281)
OKLCHoklch(54.73% 0.245 291.3)
XYZxyz(25.5273, 13.9829, 83.7751)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FF0 #B5F03F
analogous
#3F5DF0 #7A3FF0 #D33FF0
triadic
#7A3FF0 #F07A3F #3FF07A
tetradic
#7A3FF0 #F03F5D #B5F03F #3FF0D3
square
#7A3FF0 #F03F5D #B5F03F #3FF0D3
split-complementary
#7A3FF0 #F0D33F #5DF03F
monochromatic
#410DA8 #5612E0 #7A3FF0 #A178F4 #C9B1F9

Accessibility & contrast

On white

5.53
#7A3FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7A3FF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FF0
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FF0#FFFFFF#000000##FFFFFF
##7A3FF01.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF5
Deuteranopia (green-blind)
#0065ED
Tritanopia (blue-blind)
#526F95
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a3ff0;
/* rgb */ color: rgb(122, 63, 240);
/* oklch */ color: oklch(54.7% 0.245 291.3);
Tailwind
colors: {
  custom: {
    50: '#ab7af6',
    500: '#7a3ff0',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ff0;
$custom-light: #ab7af6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ff0",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 240
  },
  "hsl": {
    "h": 260,
    "s": 85.507,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54733,
    "c": 0.24488,
    "h": 291.3
  },
  "luminance": 0.13984
}

Semantic roles & 50–950 ramp

primary
#7A3FF0
secondary
#D1E8A3
accent
#FC2CB7
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A17
muted
#807C85

Preview Lab

Preview with #7A3FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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