#7E67DC#7E67DC

#7E67DC is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.3% C 0.172 H 289.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7E67DC
RGBrgb(126, 103, 220)
HSLhsl(252, 63%, 63%)
HSVhsv(252, 53%, 86%)
CMYKcmyk(42.7%, 53.2%, 0%, 13.7%)
CIE-LABlab(51.04, 37.14, -57.06)
CIE-LCHlch(51.04, 68.08, 303.06°)
OKLaboklab(59.32% 0.0563 -0.1622)
OKLCHoklch(59.32% 0.172 289.1)
XYZxyz(26.3691, 19.3025, 70.0327)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E67DC #C5DC67
analogous
#678ADC #7E67DC #B867DC
triadic
#7E67DC #DC7E67 #67DC7E
tetradic
#7E67DC #DC678A #C5DC67 #67DCB8
square
#7E67DC #DC678A #C5DC67 #67DCB8
split-complementary
#7E67DC #DCB867 #8ADC67
monochromatic
#3E26A3 #5435D1 #7E67DC #A899E7 #D2CAF3

Accessibility & contrast

On white

4.32
#7E67DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#7E67DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E67DC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E67DC#FFFFFF#000000##000000
##7E67DC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CE0
Deuteranopia (green-blind)
#3177D9
Tritanopia (blue-blind)
#638098
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e67dc;
/* rgb */ color: rgb(126, 103, 220);
/* oklch */ color: oklch(59.3% 0.172 289.1);
Tailwind
colors: {
  custom: {
    50: '#a993e7',
    500: '#7e67dc',
    950: '#000000',
  },
}
SCSS
$custom: #7e67dc;
$custom-light: #a993e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e67dc",
  "rgb": {
    "r": 126,
    "g": 103,
    "b": 220
  },
  "hsl": {
    "h": 251.795,
    "s": 62.567,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59316,
    "c": 0.17172,
    "h": 289.1
  },
  "luminance": 0.19303
}

Semantic roles & 50–950 ramp

primary
#7E67DC
secondary
#DCE4BB
accent
#CA1BA8
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E67DC

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

Preview Lab → · Contrast checker → · Palette generator →

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