#7C6AF2#7C6AF2

#7C6AF2 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 61.1% C 0.196 H 285.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7C6AF2
RGBrgb(124, 106, 242)
HSLhsl(248, 84%, 68%)
HSVhsv(248, 56%, 95%)
CMYKcmyk(48.8%, 56.2%, 0%, 5.1%)
CIE-LABlab(52.95, 41.28, -66.34)
CIE-LCHlch(52.95, 78.13, 301.89°)
OKLaboklab(61.14% 0.0509 -0.1896)
OKLCHoklch(61.14% 0.196 285)
XYZxyz(29.4885, 21.0025, 86.4873)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6AF2 #E0F26A
analogous
#6A9CF2 #7C6AF2 #C06AF2
triadic
#7C6AF2 #F27C6A #6AF27C
tetradic
#7C6AF2 #F26A9C #E0F26A #6AF2C0
square
#7C6AF2 #F26A9C #E0F26A #6AF2C0
split-complementary
#7C6AF2 #F2C06A #9CF26A
monochromatic
#2B12CF #4B32ED #7C6AF2 #ADA2F7 #DFDBFC

Accessibility & contrast

On white

4.04
#7C6AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7C6AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6AF2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6AF2#FFFFFF#000000##000000
##7C6AF21.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0282F7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#5189A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c6af2;
/* rgb */ color: rgb(124, 106, 242);
/* oklch */ color: oklch(61.1% 0.196 285.0);
Tailwind
colors: {
  custom: {
    50: '#aa95f7',
    500: '#7c6af2',
    950: '#000000',
  },
}
SCSS
$custom: #7c6af2;
$custom-light: #aa95f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6af2",
  "rgb": {
    "r": 124,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 247.941,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6114,
    "c": 0.19629,
    "h": 285
  },
  "luminance": 0.21004
}

Semantic roles & 50–950 ramp

primary
#7C6AF2
secondary
#EBF1C7
accent
#E005C3
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7C6AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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