#7E67CC#7E67CC

#7E67CC is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.3% C 0.150 H 291.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7E67CC
RGBrgb(126, 103, 204)
HSLhsl(254, 50%, 60%)
HSVhsv(254, 50%, 80%)
CMYKcmyk(38.2%, 49.5%, 0%, 20%)
CIE-LABlab(50.09, 32.69, -49.47)
CIE-LCHlch(50.09, 59.29, 303.45°)
OKLaboklab(58.3% 0.0552 -0.14)
OKLCHoklch(58.3% 0.15 291.5)
XYZxyz(24.3506, 18.4951, 59.4020)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E67CC #B5CC67
analogous
#6783CC #7E67CC #B067CC
triadic
#7E67CC #CC7E67 #67CC7E
tetradic
#7E67CC #CC6783 #B5CC67 #67CCB0
square
#7E67CC #CC6783 #B5CC67 #67CCB0
split-complementary
#7E67CC #CCB067 #83CC67
monochromatic
#432E8A #5A3EB8 #7E67CC #A595DB #CCC3EB

Accessibility & contrast

On white

4.47
#7E67CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7E67CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E67CC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E67CC#FFFFFF#000000##000000
##7E67CC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4079D0
Deuteranopia (green-blind)
#4375CA
Tritanopia (blue-blind)
#6A7B90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e67cc;
/* rgb */ color: rgb(126, 103, 204);
/* oklch */ color: oklch(58.3% 0.150 291.5);
Tailwind
colors: {
  custom: {
    50: '#a793dc',
    500: '#7e67cc',
    950: '#000000',
  },
}
SCSS
$custom: #7e67cc;
$custom-light: #a793dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e67cc",
  "rgb": {
    "r": 126,
    "g": 103,
    "b": 204
  },
  "hsl": {
    "h": 253.663,
    "s": 49.754,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58304,
    "c": 0.15046,
    "h": 291.5
  },
  "luminance": 0.18496
}

Semantic roles & 50–950 ramp

primary
#7E67CC
secondary
#D2DBB4
accent
#BD289B
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7E67CC

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

Preview Lab → · Contrast checker → · Palette generator →

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