#7A6BF3#7A6BF3

#7A6BF3 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 61.2% C 0.196 H 284.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7A6BF3
RGBrgb(122, 107, 243)
HSLhsl(247, 85%, 69%)
HSVhsv(247, 56%, 95%)
CMYKcmyk(49.8%, 56%, 0%, 4.7%)
CIE-LABlab(53.08, 40.59, -66.69)
CIE-LCHlch(53.08, 78.07, 301.33°)
OKLaboklab(61.22% 0.0474 -0.1907)
OKLCHoklch(61.22% 0.196 284)
XYZxyz(29.4565, 21.1225, 87.3016)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6BF3 #E4F36B
analogous
#6BA0F3 #7A6BF3 #BE6BF3
triadic
#7A6BF3 #F37A6B #6BF37A
tetradic
#7A6BF3 #F36BA0 #E4F36B #6BF3BE
square
#7A6BF3 #F36BA0 #E4F36B #6BF3BE
split-complementary
#7A6BF3 #F3BE6B #A0F36B
monochromatic
#2611D3 #4732EE #7A6BF3 #ADA4F8 #E0DCFC

Accessibility & contrast

On white

4.02
#7A6BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7A6BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6BF3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6BF3#FFFFFF#000000##000000
##7A6BF31.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0383F8
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#4C8AA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a6bf3;
/* rgb */ color: rgb(122, 107, 243);
/* oklch */ color: oklch(61.2% 0.196 284.0);
Tailwind
colors: {
  custom: {
    50: '#a996f8',
    500: '#7a6bf3',
    950: '#000000',
  },
}
SCSS
$custom: #7a6bf3;
$custom-light: #a996f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6bf3",
  "rgb": {
    "r": 122,
    "g": 107,
    "b": 243
  },
  "hsl": {
    "h": 246.618,
    "s": 85,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61218,
    "c": 0.19648,
    "h": 284
  },
  "luminance": 0.21124
}

Semantic roles & 50–950 ramp

primary
#7A6BF3
secondary
#EDF1C9
accent
#E104C9
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7A6BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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