#7E68DC#7E68DC

#7E68DC is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.5% C 0.170 H 288.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7E68DC
RGBrgb(126, 104, 220)
HSLhsl(251, 62%, 64%)
HSVhsv(251, 53%, 86%)
CMYKcmyk(42.7%, 52.7%, 0%, 13.7%)
CIE-LABlab(51.27, 36.56, -56.69)
CIE-LCHlch(51.27, 67.45, 302.82°)
OKLaboklab(59.49% 0.0551 -0.1611)
OKLCHoklch(59.49% 0.17 288.9)
XYZxyz(26.4691, 19.5026, 70.0660)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E68DC #C6DC68
analogous
#688CDC #7E68DC #B868DC
triadic
#7E68DC #DC7E68 #68DC7E
tetradic
#7E68DC #DC688C #C6DC68 #68DCB8
square
#7E68DC #DC688C #C6DC68 #68DCB8
split-complementary
#7E68DC #DCB868 #8CDC68
monochromatic
#3E26A4 #5436D0 #7E68DC #A89AE8 #D3CBF3

Accessibility & contrast

On white

4.29
#7E68DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7E68DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E68DC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E68DC#FFFFFF#000000##000000
##7E68DC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#317DE0
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#628198
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e68dc;
/* rgb */ color: rgb(126, 104, 220);
/* oklch */ color: oklch(59.5% 0.170 288.9);
Tailwind
colors: {
  custom: {
    50: '#a993e7',
    500: '#7e68dc',
    950: '#000000',
  },
}
SCSS
$custom: #7e68dc;
$custom-light: #a993e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e68dc",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 251.379,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59488,
    "c": 0.17029,
    "h": 288.9
  },
  "luminance": 0.19504
}

Semantic roles & 50–950 ramp

primary
#7E68DC
secondary
#DDE4BB
accent
#CA1BA9
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E68DC

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

Preview Lab → · Contrast checker → · Palette generator →

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