#7E6AF3#7E6AF3

#7E6AF3 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 61.4% C 0.197 H 285.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7E6AF3
RGBrgb(126, 106, 243)
HSLhsl(249, 85%, 68%)
HSVhsv(249, 56%, 95%)
CMYKcmyk(48.1%, 56.4%, 0%, 4.7%)
CIE-LABlab(53.18, 41.97, -66.52)
CIE-LCHlch(53.18, 78.65, 302.25°)
OKLaboklab(61.37% 0.0533 -0.19)
OKLCHoklch(61.37% 0.197 285.7)
XYZxyz(29.9311, 21.2133, 87.2941)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6AF3 #DFF36A
analogous
#6A9AF3 #7E6AF3 #C26AF3
triadic
#7E6AF3 #F37E6A #6AF37E
tetradic
#7E6AF3 #F36A9A #DFF36A #6AF3C2
square
#7E6AF3 #F36A9A #DFF36A #6AF3C2
split-complementary
#7E6AF3 #F3C26A #9AF36A
monochromatic
#2D11D2 #4D31EE #7E6AF3 #AFA3F8 #E0DBFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6AF3#FFFFFF#000000##000000
##7E6AF31.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)
#0083F8
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#5589A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e6af3;
/* rgb */ color: rgb(126, 106, 243);
/* oklch */ color: oklch(61.4% 0.197 285.7);
Tailwind
colors: {
  custom: {
    50: '#ab95f8',
    500: '#7e6af3',
    950: '#000000',
  },
}
SCSS
$custom: #7e6af3;
$custom-light: #ab95f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6af3",
  "rgb": {
    "r": 126,
    "g": 106,
    "b": 243
  },
  "hsl": {
    "h": 248.759,
    "s": 85.093,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61371,
    "c": 0.19738,
    "h": 285.7
  },
  "luminance": 0.21215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E6AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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