#7A6FF3#7A6FF3

#7A6FF3 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.9% C 0.191 H 283.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7A6FF3
RGBrgb(122, 111, 243)
HSLhsl(245, 85%, 69%)
HSVhsv(245, 54%, 95%)
CMYKcmyk(49.8%, 54.3%, 0%, 4.7%)
CIE-LABlab(54.00, 38.26, -65.21)
CIE-LCHlch(54.00, 75.61, 300.40°)
OKLaboklab(61.9% 0.0432 -0.1863)
OKLCHoklch(61.9% 0.191 283)
XYZxyz(29.8833, 21.9759, 87.4438)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6FF3 #E8F36F
analogous
#6FA6F3 #7A6FF3 #BC6FF3
triadic
#7A6FF3 #F37A6F #6FF37A
tetradic
#7A6FF3 #F36FA6 #E8F36F #6FF3BC
square
#7A6FF3 #F36FA6 #E8F36F #6FF3BC
split-complementary
#7A6FF3 #F3BC6F #A6F36F
monochromatic
#2212D6 #4637EE #7A6FF3 #AEA7F8 #E2E0FC

Accessibility & contrast

On white

3.89
#7A6FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7A6FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6FF3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6FF3#FFFFFF#000000##000000
##7A6FF31.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F85F8
Deuteranopia (green-blind)
#0D7DF0
Tritanopia (blue-blind)
#4C8DA6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a6ff3;
/* rgb */ color: rgb(122, 111, 243);
/* oklch */ color: oklch(61.9% 0.191 283.0);
Tailwind
colors: {
  custom: {
    50: '#a898f8',
    500: '#7a6ff3',
    950: '#000000',
  },
}
SCSS
$custom: #7a6ff3;
$custom-light: #a898f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6ff3",
  "rgb": {
    "r": 122,
    "g": 111,
    "b": 243
  },
  "hsl": {
    "h": 245,
    "s": 84.615,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61899,
    "c": 0.19122,
    "h": 283
  },
  "luminance": 0.21978
}

Semantic roles & 50–950 ramp

primary
#7A6FF3
secondary
#EFF2CC
accent
#E104CF
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A6FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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