#7E6BFB#7E6BFB

#7E6BFB is a light, highly saturated blue. Relative luminance 0.219; OKLCH L 62.1% C 0.206 H 284.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7E6BFB
RGBrgb(126, 107, 251)
HSLhsl(248, 95%, 70%)
HSVhsv(248, 57%, 98%)
CMYKcmyk(49.8%, 57.4%, 0%, 1.6%)
CIE-LABlab(53.94, 43.72, -69.74)
CIE-LCHlch(53.94, 82.31, 302.08°)
OKLaboklab(62.1% 0.0522 -0.1995)
OKLCHoklch(62.1% 0.206 284.7)
XYZxyz(31.2693, 21.9145, 93.8304)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BFB #E8FB6B
analogous
#6BA0FB #7E6BFB #C66BFB
triadic
#7E6BFB #FB7E6B #6BFB7E
tetradic
#7E6BFB #FB6BA0 #E8FB6B #6BFBC6
square
#7E6BFB #FB6BA0 #E8FB6B #6BFBC6
split-complementary
#7E6BFB #FBC66B #A0FB6B
monochromatic
#2406E5 #4A2FF9 #7E6BFB #B2A7FD #E5E1FE

Accessibility & contrast

On white

3.90
#7E6BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7E6BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6BFB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6BFB#FFFFFF#000000##000000
##7E6BFB1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007CF8
Tritanopia (blue-blind)
#4F8CA9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6bfb;
/* rgb */ color: rgb(126, 107, 251);
/* oklch */ color: oklch(62.1% 0.206 284.7);
Tailwind
colors: {
  custom: {
    50: '#ac96fe',
    500: '#7e6bfb',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bfb;
$custom-light: #ac96fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bfb",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 247.917,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.62096,
    "c": 0.20625,
    "h": 284.7
  },
  "luminance": 0.21916
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E6BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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