#7E68CD#7E68CD

#7E68CD is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.5% C 0.150 H 291.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7E68CD
RGBrgb(126, 104, 205)
HSLhsl(253, 50%, 61%)
HSVhsv(253, 49%, 80%)
CMYKcmyk(38.5%, 49.3%, 0%, 19.6%)
CIE-LABlab(50.39, 32.37, -49.57)
CIE-LCHlch(50.39, 59.21, 303.14°)
OKLaboklab(58.54% 0.054 -0.1403)
OKLCHoklch(58.54% 0.15 291.1)
XYZxyz(24.5710, 18.7434, 60.0690)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E68CD #B7CD68
analogous
#6884CD #7E68CD #B068CD
triadic
#7E68CD #CD7E68 #68CD7E
tetradic
#7E68CD #CD6884 #B7CD68 #68CDB0
square
#7E68CD #CD6884 #B7CD68 #68CDB0
split-complementary
#7E68CD #CDB068 #84CD68
monochromatic
#432E8C #593EBA #7E68CD #A596DC #CDC4EB

Accessibility & contrast

On white

4.42
#7E68CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7E68CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E68CD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E68CD#FFFFFF#000000##000000
##7E68CD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#417AD1
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#697C91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e68cd;
/* rgb */ color: rgb(126, 104, 205);
/* oklch */ color: oklch(58.5% 0.150 291.1);
Tailwind
colors: {
  custom: {
    50: '#a793dd',
    500: '#7e68cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e68cd;
$custom-light: #a793dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e68cd",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 253.069,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58543,
    "c": 0.15031,
    "h": 291.1
  },
  "luminance": 0.18744
}

Semantic roles & 50–950 ramp

primary
#7E68CD
secondary
#D3DCB5
accent
#BE289D
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7E68CD

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

Preview Lab → · Contrast checker → · Palette generator →

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