#7A6BFA#7A6BFA

#7A6BFA is a mid, highly saturated blue. Relative luminance 0.216; OKLCH L 61.7% C 0.205 H 283.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7A6BFA
RGBrgb(122, 107, 250)
HSLhsl(246, 93%, 70%)
HSVhsv(246, 57%, 98%)
CMYKcmyk(51.2%, 57.2%, 0%, 2%)
CIE-LABlab(53.55, 42.66, -69.83)
CIE-LCHlch(53.55, 81.83, 301.42°)
OKLaboklab(61.71% 0.0474 -0.1999)
OKLCHoklch(61.71% 0.205 283.3)
XYZxyz(30.5338, 21.5534, 92.9753)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6BFA #EBFA6B
analogous
#6BA3FA #7A6BFA #C26BFA
triadic
#7A6BFA #FA7A6B #6BFA7A
tetradic
#7A6BFA #FA6BA3 #EBFA6B #6BFAC2
square
#7A6BFA #FA6BA3 #EBFA6B #6BFAC2
split-complementary
#7A6BFA #FAC26B #A3FA6B
monochromatic
#1F08E3 #4530F8 #7A6BFA #AFA6FC #E4E1FE

Accessibility & contrast

On white

3.95
#7A6BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7A6BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6BFA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6BFA#FFFFFF#000000##000000
##7A6BFA1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007BF7
Tritanopia (blue-blind)
#478CA8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a6bfa;
/* rgb */ color: rgb(122, 107, 250);
/* oklch */ color: oklch(61.7% 0.205 283.3);
Tailwind
colors: {
  custom: {
    50: '#a996fd',
    500: '#7a6bfa',
    950: '#000000',
  },
}
SCSS
$custom: #7a6bfa;
$custom-light: #a996fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6bfa",
  "rgb": {
    "r": 122,
    "g": 107,
    "b": 250
  },
  "hsl": {
    "h": 246.294,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.61711,
    "c": 0.20544,
    "h": 283.3
  },
  "luminance": 0.21555
}

Semantic roles & 50–950 ramp

primary
#7A6BFA
secondary
#F0F4CC
accent
#E600CD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7A6BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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