#7A6FEB#7A6FEB

#7A6FEB is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.4% C 0.181 H 283.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7A6FEB
RGBrgb(122, 111, 235)
HSLhsl(245, 76%, 68%)
HSVhsv(245, 53%, 92%)
CMYKcmyk(48.1%, 52.8%, 0%, 7.8%)
CIE-LABlab(53.50, 35.90, -61.56)
CIE-LCHlch(53.50, 71.26, 300.25°)
OKLaboklab(61.36% 0.0429 -0.1756)
OKLCHoklch(61.36% 0.181 283.7)
XYZxyz(28.7014, 21.5032, 81.2194)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6FEB #E0EB6F
analogous
#6FA2EB #7A6FEB #B86FEB
triadic
#7A6FEB #EB7A6F #6FEB7A
tetradic
#7A6FEB #EB6FA2 #E0EB6F #6FEBB8
square
#7A6FEB #EB6FA2 #E0EB6F #6FEBB8
split-complementary
#7A6FEB #EBB86F #A2EB6F
monochromatic
#2A1BC4 #4839E4 #7A6FEB #ACA5F2 #DDDAFA

Accessibility & contrast

On white

3.96
#7A6FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#7A6FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6FEB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6FEB#FFFFFF#000000##000000
##7A6FEB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84EF
Deuteranopia (green-blind)
#257CE8
Tritanopia (blue-blind)
#528AA2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a6feb;
/* rgb */ color: rgb(122, 111, 235);
/* oklch */ color: oklch(61.4% 0.181 283.7);
Tailwind
colors: {
  custom: {
    50: '#a798f2',
    500: '#7a6feb',
    950: '#000000',
  },
}
SCSS
$custom: #7a6feb;
$custom-light: #a798f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6feb",
  "rgb": {
    "r": 122,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 245.323,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61361,
    "c": 0.18072,
    "h": 283.7
  },
  "luminance": 0.21505
}

Semantic roles & 50–950 ramp

primary
#7A6FEB
secondary
#EBEEC8
accent
#D80EC6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A6FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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