#7A3FE2#7A3FE2

#7A3FE2 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.5% C 0.230 H 293.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7A3FE2
RGBrgb(122, 63, 226)
HSLhsl(262, 74%, 57%)
HSVhsv(262, 72%, 89%)
CMYKcmyk(46%, 72.1%, 0%, 11.4%)
CIE-LABlab(43.04, 59.47, -73.45)
CIE-LCHlch(43.04, 94.51, 309.00°)
OKLaboklab(53.55% 0.0922 -0.2105)
OKLCHoklch(53.55% 0.23 293.6)
XYZxyz(23.5272, 13.1829, 73.2417)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FE2 #A7E23F
analogous
#3F56E2 #7A3FE2 #CC3FE2
triadic
#7A3FE2 #E27A3F #3FE27A
tetradic
#7A3FE2 #E23F56 #A7E23F #3FE2CC
square
#7A3FE2 #E23F56 #A7E23F #3FE2CC
split-complementary
#7A3FE2 #E2CC3F #56E23F
monochromatic
#421691 #5B1EC6 #7A3FE2 #9F74EA #C4A9F2

Accessibility & contrast

On white

5.77
#7A3FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7A3FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FE2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FE2#FFFFFF#000000##FFFFFF
##7A3FE21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#5B6A8D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a3fe2;
/* rgb */ color: rgb(122, 63, 226);
/* oklch */ color: oklch(53.5% 0.230 293.6);
Tailwind
colors: {
  custom: {
    50: '#a979ec',
    500: '#7a3fe2',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fe2;
$custom-light: #a979ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fe2",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 226
  },
  "hsl": {
    "h": 261.718,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53547,
    "c": 0.22982,
    "h": 293.6
  },
  "luminance": 0.13184
}

Semantic roles & 50–950 ramp

primary
#7A3FE2
secondary
#C8E09D
accent
#F037AD
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7A3FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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