#7F68EC#7F68EC

#7F68EC is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.6% C 0.191 H 287.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7F68EC
RGBrgb(127, 104, 236)
HSLhsl(250, 78%, 67%)
HSVhsv(250, 56%, 93%)
CMYKcmyk(46.2%, 55.9%, 0%, 7.5%)
CIE-LABlab(52.36, 41.32, -63.93)
CIE-LCHlch(52.36, 76.12, 302.88°)
OKLaboklab(60.64% 0.0567 -0.1824)
OKLCHoklch(60.64% 0.191 287.3)
XYZxyz(28.8387, 20.4676, 81.7717)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F68EC #D5EC68
analogous
#6893EC #7F68EC #C168EC
triadic
#7F68EC #EC7F68 #68EC7F
tetradic
#7F68EC #EC6893 #D5EC68 #68ECC1
square
#7F68EC #EC6893 #D5EC68 #68ECC1
split-complementary
#7F68EC #ECC168 #93EC68
monochromatic
#3618C1 #5132E5 #7F68EC #AD9EF3 #DBD5FA

Accessibility & contrast

On white

4.12
#7F68EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7F68EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F68EC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F68EC#FFFFFF#000000##000000
##7F68EC1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1280F0
Deuteranopia (green-blind)
#1279E9
Tritanopia (blue-blind)
#5C85A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f68ec;
/* rgb */ color: rgb(127, 104, 236);
/* oklch */ color: oklch(60.6% 0.191 287.3);
Tailwind
colors: {
  custom: {
    50: '#ab94f3',
    500: '#7f68ec',
    950: '#000000',
  },
}
SCSS
$custom: #7f68ec;
$custom-light: #ab94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f68ec",
  "rgb": {
    "r": 127,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 250.455,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6064,
    "c": 0.19103,
    "h": 287.3
  },
  "luminance": 0.20469
}

Semantic roles & 50–950 ramp

primary
#7F68EC
secondary
#E6EDC3
accent
#DA0CB6
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F68EC

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

Preview Lab → · Contrast checker → · Palette generator →

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