#7E68BB#7E68BB

#7E68BB is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.5% C 0.126 H 294.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7E68BB
RGBrgb(126, 104, 187)
HSLhsl(256, 38%, 57%)
HSVhsv(256, 44%, 73%)
CMYKcmyk(32.6%, 44.4%, 0%, 26.7%)
CIE-LABlab(49.40, 27.49, -40.79)
CIE-LCHlch(49.40, 49.19, 303.98°)
OKLaboklab(57.49% 0.0518 -0.1146)
OKLCHoklch(57.49% 0.126 294.3)
XYZxyz(22.5219, 17.9237, 49.2771)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E68BB #A5BB68
analogous
#687BBB #7E68BB #A868BB
triadic
#7E68BB #BB7E68 #68BB7E
tetradic
#7E68BB #BB687B #A5BB68 #68BBA8
square
#7E68BB #BB687B #A5BB68 #68BBA8
split-complementary
#7E68BB #BBA868 #7BBB68
monochromatic
#453474 #5E479E #7E68BB #A292CE #C6BCE1

Accessibility & contrast

On white

4.58
#7E68BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7E68BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E68BB
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E68BB#FFFFFF#000000##000000
##7E68BB1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E76BE
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#707788
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e68bb;
/* rgb */ color: rgb(126, 104, 187);
/* oklch */ color: oklch(57.5% 0.126 294.3);
Tailwind
colors: {
  custom: {
    50: '#a693d0',
    500: '#7e68bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e68bb;
$custom-light: #a693d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e68bb",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 187
  },
  "hsl": {
    "h": 255.904,
    "s": 37.9,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57486,
    "c": 0.12573,
    "h": 294.3
  },
  "luminance": 0.17924
}

Semantic roles & 50–950 ramp

primary
#7E68BB
secondary
#C7D0AF
accent
#CE5AAF
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #7E68BB

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

Preview Lab → · Contrast checker → · Palette generator →

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