#7E6BF3#7E6BF3

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

Color values

HEX#7E6BF3
RGBrgb(126, 107, 243)
HSLhsl(248, 85%, 69%)
HSVhsv(248, 56%, 95%)
CMYKcmyk(48.1%, 56%, 0%, 4.7%)
CIE-LABlab(53.41, 41.40, -66.15)
CIE-LCHlch(53.41, 78.04, 302.04°)
OKLaboklab(61.54% 0.0523 -0.189)
OKLCHoklch(61.54% 0.196 285.5)
XYZxyz(30.0348, 21.4207, 87.3287)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BF3 #E0F36B
analogous
#6B9CF3 #7E6BF3 #C26BF3
triadic
#7E6BF3 #F37E6B #6BF37E
tetradic
#7E6BF3 #F36B9C #E0F36B #6BF3C2
square
#7E6BF3 #F36B9C #E0F36B #6BF3C2
split-complementary
#7E6BF3 #F3C26B #9CF36B
monochromatic
#2C11D3 #4D32EE #7E6BF3 #AFA4F8 #E1DCFC

Accessibility & contrast

On white

3.97
#7E6BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6BF3#FFFFFF#000000##000000
##7E6BF31.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A83F8
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#558AA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e6bf3;
/* rgb */ color: rgb(126, 107, 243);
/* oklch */ color: oklch(61.5% 0.196 285.5);
Tailwind
colors: {
  custom: {
    50: '#ab96f8',
    500: '#7e6bf3',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bf3;
$custom-light: #ab96f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bf3",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 243
  },
  "hsl": {
    "h": 248.382,
    "s": 85,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61537,
    "c": 0.19607,
    "h": 285.5
  },
  "luminance": 0.21422
}

Semantic roles & 50–950 ramp

primary
#7E6BF3
secondary
#ECF1C9
accent
#E104C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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