#7C6BF5#7C6BF5

#7C6BF5 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.5% C 0.199 H 284.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7C6BF5
RGBrgb(124, 107, 245)
HSLhsl(247, 87%, 69%)
HSVhsv(247, 56%, 96%)
CMYKcmyk(49.4%, 56.3%, 0%, 3.9%)
CIE-LABlab(53.38, 41.58, -67.33)
CIE-LCHlch(53.38, 79.13, 301.70°)
OKLaboklab(61.52% 0.0498 -0.1925)
OKLCHoklch(61.52% 0.199 284.5)
XYZxyz(30.0464, 21.3915, 88.9143)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6BF5 #E4F56B
analogous
#6B9FF5 #7C6BF5 #C16BF5
triadic
#7C6BF5 #F57C6B #6BF57C
tetradic
#7C6BF5 #F56B9F #E4F56B #6BF5C1
square
#7C6BF5 #F56B9F #E4F56B #6BF5C1
split-complementary
#7C6BF5 #F5C16B #9FF56B
monochromatic
#270FD7 #4932F1 #7C6BF5 #AFA4F9 #E1DEFD

Accessibility & contrast

On white

3.98
#7C6BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7C6BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6BF5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6BF5#FFFFFF#000000##000000
##7C6BF51.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c6bf5;
/* rgb */ color: rgb(124, 107, 245);
/* oklch */ color: oklch(61.5% 0.199 284.5);
Tailwind
colors: {
  custom: {
    50: '#aa96f9',
    500: '#7c6bf5',
    950: '#000000',
  },
}
SCSS
$custom: #7c6bf5;
$custom-light: #aa96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6bf5",
  "rgb": {
    "r": 124,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 247.391,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61515,
    "c": 0.19883,
    "h": 284.5
  },
  "luminance": 0.21393
}

Semantic roles & 50–950 ramp

primary
#7C6BF5
secondary
#EDF2CA
accent
#E402C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7C6BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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