#7E68F2#7E68F2

#7E68F2 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 61.0% C 0.199 H 286.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7E68F2
RGBrgb(126, 104, 242)
HSLhsl(250, 84%, 68%)
HSVhsv(250, 57%, 95%)
CMYKcmyk(47.9%, 57%, 0%, 5.1%)
CIE-LABlab(52.67, 42.83, -66.79)
CIE-LCHlch(52.67, 79.34, 302.67°)
OKLaboklab(60.97% 0.0555 -0.1908)
OKLCHoklch(60.97% 0.199 286.2)
XYZxyz(29.5768, 20.7457, 86.4331)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E68F2 #DCF268
analogous
#6897F2 #7E68F2 #C368F2
triadic
#7E68F2 #F27E68 #68F27E
tetradic
#7E68F2 #F26897 #DCF268 #68F2C3
square
#7E68F2 #F26897 #DCF268 #68F2C3
split-complementary
#7E68F2 #F2C368 #97F268
monochromatic
#3012CE #4E30ED #7E68F2 #AEA0F7 #DED9FC

Accessibility & contrast

On white

4.08
#7E68F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#7E68F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E68F2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E68F2#FFFFFF#000000##000000
##7E68F21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#5687A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e68f2;
/* rgb */ color: rgb(126, 104, 242);
/* oklch */ color: oklch(61.0% 0.199 286.2);
Tailwind
colors: {
  custom: {
    50: '#ab94f7',
    500: '#7e68f2',
    950: '#000000',
  },
}
SCSS
$custom: #7e68f2;
$custom-light: #ab94f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e68f2",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 249.565,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60972,
    "c": 0.19875,
    "h": 286.2
  },
  "luminance": 0.20747
}

Semantic roles & 50–950 ramp

primary
#7E68F2
secondary
#E9F0C6
accent
#E105BE
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E68F2

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

Preview Lab → · Contrast checker → · Palette generator →

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