#7E6BF9#7E6BF9

#7E6BF9 is a mid, highly saturated blue. Relative luminance 0.218; OKLCH L 62.0% C 0.204 H 284.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7E6BF9
RGBrgb(126, 107, 249)
HSLhsl(248, 92%, 70%)
HSVhsv(248, 57%, 98%)
CMYKcmyk(49.4%, 57%, 0%, 2.4%)
CIE-LABlab(53.80, 43.14, -68.85)
CIE-LCHlch(53.80, 81.25, 302.07°)
OKLaboklab(61.96% 0.0523 -0.1969)
OKLCHoklch(61.96% 0.204 284.9)
XYZxyz(30.9557, 21.7890, 92.1788)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BF9 #E6F96B
analogous
#6B9FF9 #7E6BF9 #C56BF9
triadic
#7E6BF9 #F97E6B #6BF97E
tetradic
#7E6BF9 #F96B9F #E6F96B #6BF9C5
square
#7E6BF9 #F96B9F #E6F96B #6BF9C5
split-complementary
#7E6BF9 #F9C56B #9FF96B
monochromatic
#2609E0 #4B30F7 #7E6BF9 #B1A6FB #E5E1FE

Accessibility & contrast

On white

3.92
#7E6BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7E6BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6BF9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6BF9#FFFFFF#000000##000000
##7E6BF91.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FE
Deuteranopia (green-blind)
#007CF6
Tritanopia (blue-blind)
#518CA8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6bf9;
/* rgb */ color: rgb(126, 107, 249);
/* oklch */ color: oklch(62.0% 0.204 284.9);
Tailwind
colors: {
  custom: {
    50: '#ac96fc',
    500: '#7e6bf9',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bf9;
$custom-light: #ac96fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bf9",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 249
  },
  "hsl": {
    "h": 248.028,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61955,
    "c": 0.20371,
    "h": 284.9
  },
  "luminance": 0.21791
}

Semantic roles & 50–950 ramp

primary
#7E6BF9
secondary
#EFF4CC
accent
#E600C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7E6BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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