#7C6AF5#7C6AF5

#7C6AF5 is a mid, highly saturated blue. Relative luminance 0.212; OKLCH L 61.3% C 0.200 H 284.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7C6AF5
RGBrgb(124, 106, 245)
HSLhsl(248, 87%, 69%)
HSVhsv(248, 57%, 96%)
CMYKcmyk(49.4%, 56.7%, 0%, 3.9%)
CIE-LABlab(53.15, 42.15, -67.69)
CIE-LCHlch(53.15, 79.74, 301.91°)
OKLaboklab(61.35% 0.0509 -0.1935)
OKLCHoklch(61.35% 0.2 284.7)
XYZxyz(29.9427, 21.1842, 88.8797)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6AF5 #E3F56A
analogous
#6A9EF5 #7C6AF5 #C26AF5
triadic
#7C6AF5 #F57C6A #6AF57C
tetradic
#7C6AF5 #F56A9E #E3F56A #6AF5C2
square
#7C6AF5 #F56A9E #E3F56A #6AF5C2
split-complementary
#7C6AF5 #F5C26A #9EF56A
monochromatic
#280ED6 #4A31F1 #7C6AF5 #AEA3F9 #E1DDFD

Accessibility & contrast

On white

4.01
#7C6AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#7C6AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6AF5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6AF5#FFFFFF#000000##000000
##7C6AF51.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#4F8AA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c6af5;
/* rgb */ color: rgb(124, 106, 245);
/* oklch */ color: oklch(61.3% 0.200 284.7);
Tailwind
colors: {
  custom: {
    50: '#aa95f9',
    500: '#7c6af5',
    950: '#000000',
  },
}
SCSS
$custom: #7c6af5;
$custom-light: #aa95f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6af5",
  "rgb": {
    "r": 124,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 247.77,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61349,
    "c": 0.20013,
    "h": 284.7
  },
  "luminance": 0.21186
}

Semantic roles & 50–950 ramp

primary
#7C6AF5
secondary
#EDF2C9
accent
#E402C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7C6AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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