#7E68EF#7E68EF

#7E68EF is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.8% C 0.195 H 286.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7E68EF
RGBrgb(126, 104, 239)
HSLhsl(250, 81%, 67%)
HSVhsv(250, 56%, 94%)
CMYKcmyk(47.3%, 56.5%, 0%, 6.3%)
CIE-LABlab(52.47, 41.97, -65.43)
CIE-LCHlch(52.47, 77.74, 302.68°)
OKLaboklab(60.76% 0.0555 -0.1869)
OKLCHoklch(60.76% 0.195 286.5)
XYZxyz(29.1299, 20.5669, 84.0796)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E68EF #D9EF68
analogous
#6895EF #7E68EF #C268EF
triadic
#7E68EF #EF7E68 #68EF7E
tetradic
#7E68EF #EF6895 #D9EF68 #68EFC2
square
#7E68EF #EF6895 #D9EF68 #68EFC2
split-complementary
#7E68EF #EFC268 #95EF68
monochromatic
#3215C7 #4F31E9 #7E68EF #AD9FF5 #DDD7FB

Accessibility & contrast

On white

4.11
#7E68EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7E68EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E68EF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E68EF#FFFFFF#000000##000000
##7E68EF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0281F4
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#5886A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e68ef;
/* rgb */ color: rgb(126, 104, 239);
/* oklch */ color: oklch(60.8% 0.195 286.5);
Tailwind
colors: {
  custom: {
    50: '#ab94f5',
    500: '#7e68ef',
    950: '#000000',
  },
}
SCSS
$custom: #7e68ef;
$custom-light: #ab94f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e68ef",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 249.778,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60763,
    "c": 0.19493,
    "h": 286.5
  },
  "luminance": 0.20568
}

Semantic roles & 50–950 ramp

primary
#7E68EF
secondary
#E8EFC4
accent
#DD08BA
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E68EF

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

Preview Lab → · Contrast checker → · Palette generator →

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