#7E68DD#7E68DD

#7E68DD is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.6% C 0.172 H 288.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7E68DD
RGBrgb(126, 104, 221)
HSLhsl(251, 63%, 64%)
HSVhsv(251, 53%, 87%)
CMYKcmyk(43%, 52.9%, 0%, 13.3%)
CIE-LABlab(51.33, 36.84, -57.15)
CIE-LCHlch(51.33, 68.00, 302.81°)
OKLaboklab(59.55% 0.0551 -0.1625)
OKLCHoklch(59.55% 0.172 288.7)
XYZxyz(26.6020, 19.5558, 70.7656)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E68DD #C7DD68
analogous
#688CDD #7E68DD #B868DD
triadic
#7E68DD #DD7E68 #68DD7E
tetradic
#7E68DD #DD688C #C7DD68 #68DDB8
square
#7E68DD #DD688C #C7DD68 #68DDB8
split-complementary
#7E68DD #DDB868 #8CDD68
monochromatic
#3D25A5 #5336D2 #7E68DD #A99AE8 #D3CCF3

Accessibility & contrast

On white

4.28
#7E68DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7E68DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E68DD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E68DD#FFFFFF#000000##000000
##7E68DD1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#307DE1
Deuteranopia (green-blind)
#3177DA
Tritanopia (blue-blind)
#628199
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e68dd;
/* rgb */ color: rgb(126, 104, 221);
/* oklch */ color: oklch(59.6% 0.172 288.7);
Tailwind
colors: {
  custom: {
    50: '#a993e8',
    500: '#7e68dd',
    950: '#000000',
  },
}
SCSS
$custom: #7e68dd;
$custom-light: #a993e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e68dd",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 221
  },
  "hsl": {
    "h": 251.282,
    "s": 63.243,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59553,
    "c": 0.17161,
    "h": 288.7
  },
  "luminance": 0.19557
}

Semantic roles & 50–950 ramp

primary
#7E68DD
secondary
#DDE5BC
accent
#CB1AAA
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E68DD

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

Preview Lab → · Contrast checker → · Palette generator →

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