#7A6BFD#7A6BFD

#7A6BFD is a mid, highly saturated blue. Relative luminance 0.217; OKLCH L 61.9% C 0.209 H 283.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7A6BFD
RGBrgb(122, 107, 253)
HSLhsl(246, 97%, 71%)
HSVhsv(246, 58%, 99%)
CMYKcmyk(51.8%, 57.7%, 0%, 0.8%)
CIE-LABlab(53.75, 43.54, -71.16)
CIE-LCHlch(53.75, 83.43, 301.46°)
OKLaboklab(61.93% 0.0473 -0.2038)
OKLCHoklch(61.93% 0.209 283.1)
XYZxyz(31.0080, 21.7431, 95.4724)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6BFD #EEFD6B
analogous
#6BA5FD #7A6BFD #C36BFD
triadic
#7A6BFD #FD7A6B #6BFD7A
tetradic
#7A6BFD #FD6BA5 #EEFD6B #6BFDC3
square
#7A6BFD #FD6BA5 #EEFD6B #6BFDC3
split-complementary
#7A6BFD #FDC36B #A5FD6B
monochromatic
#1B03EA #442FFC #7A6BFD #B0A7FE #E4E1FF

Accessibility & contrast

On white

3.93
#7A6BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7A6BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6BFD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6BFD#FFFFFF#000000##000000
##7A6BFD1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007CFA
Tritanopia (blue-blind)
#448DAA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a6bfd;
/* rgb */ color: rgb(122, 107, 253);
/* oklch */ color: oklch(61.9% 0.209 283.1);
Tailwind
colors: {
  custom: {
    50: '#aa96ff',
    500: '#7a6bfd',
    950: '#000000',
  },
}
SCSS
$custom: #7a6bfd;
$custom-light: #aa96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6bfd",
  "rgb": {
    "r": 122,
    "g": 107,
    "b": 253
  },
  "hsl": {
    "h": 246.164,
    "s": 97.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.61925,
    "c": 0.20924,
    "h": 283.1
  },
  "luminance": 0.21745
}

Semantic roles & 50–950 ramp

primary
#7A6BFD
secondary
#F2F6CE
accent
#E600CE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7A6BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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