#7E68DB#7E68DB

#7E68DB is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.4% C 0.169 H 289.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7E68DB
RGBrgb(126, 104, 219)
HSLhsl(251, 61%, 63%)
HSVhsv(251, 53%, 86%)
CMYKcmyk(42.5%, 52.5%, 0%, 14.1%)
CIE-LABlab(51.21, 36.28, -56.22)
CIE-LCHlch(51.21, 66.91, 302.83°)
OKLaboklab(59.42% 0.055 -0.1598)
OKLCHoklch(59.42% 0.169 289)
XYZxyz(26.3371, 19.4498, 69.3706)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E68DB #C5DB68
analogous
#688BDB #7E68DB #B768DB
triadic
#7E68DB #DB7E68 #68DB7E
tetradic
#7E68DB #DB688B #C5DB68 #68DBB7
square
#7E68DB #DB688B #C5DB68 #68DBB7
split-complementary
#7E68DB #DBB768 #8BDB68
monochromatic
#3E27A2 #5437CF #7E68DB #A899E7 #D2CBF3

Accessibility & contrast

On white

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

On black

4.89
#7E68DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E68DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E68DB#FFFFFF#000000##000000
##7E68DB1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#327CDF
Deuteranopia (green-blind)
#3477D8
Tritanopia (blue-blind)
#638098
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e68db;
/* rgb */ color: rgb(126, 104, 219);
/* oklch */ color: oklch(59.4% 0.169 289.0);
Tailwind
colors: {
  custom: {
    50: '#a893e7',
    500: '#7e68db',
    950: '#000000',
  },
}
SCSS
$custom: #7e68db;
$custom-light: #a893e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e68db",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 251.478,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59423,
    "c": 0.16898,
    "h": 289
  },
  "luminance": 0.19451
}

Semantic roles & 50–950 ramp

primary
#7E68DB
secondary
#DCE4BB
accent
#C91CA8
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E68DB

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

Preview Lab → · Contrast checker → · Palette generator →

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