#7E68BC#7E68BC

#7E68BC is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.5% C 0.127 H 294.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7E68BC
RGBrgb(126, 104, 188)
HSLhsl(256, 39%, 57%)
HSVhsv(256, 45%, 74%)
CMYKcmyk(33%, 44.7%, 0%, 26.3%)
CIE-LABlab(49.46, 27.76, -41.28)
CIE-LCHlch(49.46, 49.75, 303.92°)
OKLaboklab(57.54% 0.0519 -0.116)
OKLCHoklch(57.54% 0.127 294.1)
XYZxyz(22.6293, 17.9667, 49.8429)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E68BC #A6BC68
analogous
#687CBC #7E68BC #A868BC
triadic
#7E68BC #BC7E68 #68BC7E
tetradic
#7E68BC #BC687C #A6BC68 #68BCA8
square
#7E68BC #BC687C #A6BC68 #68BCA8
split-complementary
#7E68BC #BCA868 #7CBC68
monochromatic
#453475 #5E47A0 #7E68BC #A292CF #C6BDE2

Accessibility & contrast

On white

4.57
#7E68BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7E68BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E68BC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E68BC#FFFFFF#000000##000000
##7E68BC1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BF
Deuteranopia (green-blind)
#5074BA
Tritanopia (blue-blind)
#707889
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e68bc;
/* rgb */ color: rgb(126, 104, 188);
/* oklch */ color: oklch(57.5% 0.127 294.1);
Tailwind
colors: {
  custom: {
    50: '#a693d0',
    500: '#7e68bc',
    950: '#000000',
  },
}
SCSS
$custom: #7e68bc;
$custom-light: #a693d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e68bc",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 188
  },
  "hsl": {
    "h": 255.714,
    "s": 38.532,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57542,
    "c": 0.12711,
    "h": 294.1
  },
  "luminance": 0.17967
}

Semantic roles & 50–950 ramp

primary
#7E68BC
secondary
#C8D1AF
accent
#CE59B0
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #7E68BC

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

Preview Lab → · Contrast checker → · Palette generator →

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