#7E68CA#7E68CA

#7E68CA is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.4% C 0.146 H 291.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7E68CA
RGBrgb(126, 104, 202)
HSLhsl(253, 48%, 60%)
HSVhsv(253, 49%, 79%)
CMYKcmyk(37.6%, 48.5%, 0%, 20.8%)
CIE-LABlab(50.22, 31.55, -48.13)
CIE-LCHlch(50.22, 57.55, 303.24°)
OKLaboklab(58.36% 0.0537 -0.136)
OKLCHoklch(58.36% 0.146 291.5)
XYZxyz(24.2123, 18.5999, 58.1801)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E68CA #B4CA68
analogous
#6883CA #7E68CA #AF68CA
triadic
#7E68CA #CA7E68 #68CA7E
tetradic
#7E68CA #CA6883 #B4CA68 #68CAAF
square
#7E68CA #CA6883 #B4CA68 #68CAAF
split-complementary
#7E68CA #CAAF68 #83CA68
monochromatic
#433088 #5A40B5 #7E68CA #A595DA #CBC3EA

Accessibility & contrast

On white

4.45
#7E68CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7E68CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E68CA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E68CA#FFFFFF#000000##000000
##7E68CA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4379CE
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#6B7B8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e68ca;
/* rgb */ color: rgb(126, 104, 202);
/* oklch */ color: oklch(58.4% 0.146 291.5);
Tailwind
colors: {
  custom: {
    50: '#a793db',
    500: '#7e68ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e68ca;
$custom-light: #a793db;
$custom-dark: #000000;
JSON
{
  "hex": "#7e68ca",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 253.469,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.5836,
    "c": 0.14626,
    "h": 291.5
  },
  "luminance": 0.18601
}

Semantic roles & 50–950 ramp

primary
#7E68CA
secondary
#D1DAB4
accent
#D850B9
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7E68CA

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

Preview Lab → · Contrast checker → · Palette generator →

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