#7E6BF2#7E6BF2

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

Color values

HEX#7E6BF2
RGBrgb(126, 107, 242)
HSLhsl(248, 84%, 68%)
HSVhsv(248, 56%, 95%)
CMYKcmyk(47.9%, 55.8%, 0%, 5.1%)
CIE-LABlab(53.34, 41.11, -65.70)
CIE-LCHlch(53.34, 77.50, 302.03°)
OKLaboklab(61.47% 0.0523 -0.1876)
OKLCHoklch(61.47% 0.195 285.6)
XYZxyz(29.8842, 21.3604, 86.5355)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BF2 #DFF26B
analogous
#6B9BF2 #7E6BF2 #C16BF2
triadic
#7E6BF2 #F27E6B #6BF27E
tetradic
#7E6BF2 #F26B9B #DFF26B #6BF2C1
square
#7E6BF2 #F26B9B #DFF26B #6BF2C1
split-complementary
#7E6BF2 #F2C16B #9BF26B
monochromatic
#2D12D0 #4D33ED #7E6BF2 #AFA3F7 #E0DCFC

Accessibility & contrast

On white

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

On black

5.27
#7E6BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6BF2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6BF2#FFFFFF#000000##000000
##7E6BF21.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F83F7
Deuteranopia (green-blind)
#027BEF
Tritanopia (blue-blind)
#5589A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e6bf2;
/* rgb */ color: rgb(126, 107, 242);
/* oklch */ color: oklch(61.5% 0.195 285.6);
Tailwind
colors: {
  custom: {
    50: '#ab96f7',
    500: '#7e6bf2',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bf2;
$custom-light: #ab96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bf2",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 248.444,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61468,
    "c": 0.19478,
    "h": 285.6
  },
  "luminance": 0.21362
}

Semantic roles & 50–950 ramp

primary
#7E6BF2
secondary
#EBF1C8
accent
#E005C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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