#7E68CF#7E68CF

#7E68CF is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.7% C 0.153 H 290.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7E68CF
RGBrgb(126, 104, 207)
HSLhsl(253, 52%, 61%)
HSVhsv(253, 50%, 81%)
CMYKcmyk(39.1%, 49.8%, 0%, 18.8%)
CIE-LABlab(50.50, 32.92, -50.53)
CIE-LCHlch(50.50, 60.31, 303.09°)
OKLaboklab(58.67% 0.0542 -0.1431)
OKLCHoklch(58.67% 0.153 290.7)
XYZxyz(24.8139, 18.8405, 61.3486)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E68CF #B9CF68
analogous
#6885CF #7E68CF #B268CF
triadic
#7E68CF #CF7E68 #68CF7E
tetradic
#7E68CF #CF6885 #B9CF68 #68CFB2
square
#7E68CF #CF6885 #B9CF68 #68CFB2
split-complementary
#7E68CF #CFB268 #85CF68
monochromatic
#422D8F #583CBE #7E68CF #A696DE #CDC5ED

Accessibility & contrast

On white

4.40
#7E68CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7E68CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E68CF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E68CF#FFFFFF#000000##000000
##7E68CF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7AD3
Deuteranopia (green-blind)
#4176CD
Tritanopia (blue-blind)
#687D92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e68cf;
/* rgb */ color: rgb(126, 104, 207);
/* oklch */ color: oklch(58.7% 0.153 290.7);
Tailwind
colors: {
  custom: {
    50: '#a793de',
    500: '#7e68cf',
    950: '#000000',
  },
}
SCSS
$custom: #7e68cf;
$custom-light: #a793de;
$custom-dark: #000000;
JSON
{
  "hex": "#7e68cf",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 207
  },
  "hsl": {
    "h": 252.816,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58665,
    "c": 0.15299,
    "h": 290.7
  },
  "luminance": 0.18841
}

Semantic roles & 50–950 ramp

primary
#7E68CF
secondary
#D5DDB6
accent
#BF269F
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7E68CF

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

Preview Lab → · Contrast checker → · Palette generator →

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