#7E68BE#7E68BE

#7E68BE is a mid, vivid violet. Relative luminance 0.181; OKLCH L 57.7% C 0.130 H 293.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7E68BE
RGBrgb(126, 104, 190)
HSLhsl(255, 40%, 58%)
HSVhsv(255, 45%, 75%)
CMYKcmyk(33.7%, 45.3%, 0%, 25.5%)
CIE-LABlab(49.56, 28.29, -42.27)
CIE-LCHlch(49.56, 50.87, 303.79°)
OKLaboklab(57.66% 0.0522 -0.1189)
OKLCHoklch(57.66% 0.13 293.7)
XYZxyz(22.8464, 18.0535, 50.9862)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E68BE #A8BE68
analogous
#687DBE #7E68BE #A968BE
triadic
#7E68BE #BE7E68 #68BE7E
tetradic
#7E68BE #BE687D #A8BE68 #68BEA9
square
#7E68BE #BE687D #A8BE68 #68BEA9
split-complementary
#7E68BE #BEA968 #7DBE68
monochromatic
#453478 #5E46A3 #7E68BE #A393D0 #C7BEE3

Accessibility & contrast

On white

4.55
#7E68BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7E68BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E68BE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E68BE#FFFFFF#000000##000000
##7E68BE1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C77C1
Deuteranopia (green-blind)
#4F74BC
Tritanopia (blue-blind)
#6F788A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e68be;
/* rgb */ color: rgb(126, 104, 190);
/* oklch */ color: oklch(57.7% 0.130 293.7);
Tailwind
colors: {
  custom: {
    50: '#a693d2',
    500: '#7e68be',
    950: '#000000',
  },
}
SCSS
$custom: #7e68be;
$custom-light: #a693d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e68be",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 190
  },
  "hsl": {
    "h": 255.349,
    "s": 39.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57656,
    "c": 0.12987,
    "h": 293.7
  },
  "luminance": 0.18054
}

Semantic roles & 50–950 ramp

primary
#7E68BE
secondary
#C9D2B0
accent
#D058B1
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #7E68BE

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

Preview Lab → · Contrast checker → · Palette generator →

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