#7E68CC#7E68CC

#7E68CC is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.5% C 0.149 H 291.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7E68CC
RGBrgb(126, 104, 204)
HSLhsl(253, 50%, 60%)
HSVhsv(253, 49%, 80%)
CMYKcmyk(38.2%, 49%, 0%, 20%)
CIE-LABlab(50.33, 32.10, -49.09)
CIE-LCHlch(50.33, 58.65, 303.18°)
OKLaboklab(58.48% 0.0539 -0.1389)
OKLCHoklch(58.48% 0.149 291.2)
XYZxyz(24.4507, 18.6952, 59.4353)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E68CC #B6CC68
analogous
#6884CC #7E68CC #B068CC
triadic
#7E68CC #CC7E68 #68CC7E
tetradic
#7E68CC #CC6884 #B6CC68 #68CCB0
square
#7E68CC #CC6884 #B6CC68 #68CCB0
split-complementary
#7E68CC #CCB068 #84CC68
monochromatic
#432F8B #593EB8 #7E68CC #A596DB #CCC3EB

Accessibility & contrast

On white

4.43
#7E68CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7E68CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E68CC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E68CC#FFFFFF#000000##000000
##7E68CC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4279D0
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#6A7C90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e68cc;
/* rgb */ color: rgb(126, 104, 204);
/* oklch */ color: oklch(58.5% 0.149 291.2);
Tailwind
colors: {
  custom: {
    50: '#a793dc',
    500: '#7e68cc',
    950: '#000000',
  },
}
SCSS
$custom: #7e68cc;
$custom-light: #a793dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e68cc",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 204
  },
  "hsl": {
    "h": 253.2,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58482,
    "c": 0.14895,
    "h": 291.2
  },
  "luminance": 0.18696
}

Semantic roles & 50–950 ramp

primary
#7E68CC
secondary
#D3DBB5
accent
#BD299C
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7E68CC

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

Preview Lab → · Contrast checker → · Palette generator →

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