#7F68EB#7F68EB

#7F68EB is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.6% C 0.190 H 287.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7F68EB
RGBrgb(127, 104, 235)
HSLhsl(251, 77%, 66%)
HSVhsv(251, 56%, 92%)
CMYKcmyk(46%, 55.7%, 0%, 7.8%)
CIE-LABlab(52.30, 41.03, -63.47)
CIE-LCHlch(52.30, 75.58, 302.88°)
OKLaboklab(60.57% 0.0567 -0.1811)
OKLCHoklch(60.57% 0.19 287.4)
XYZxyz(28.6938, 20.4096, 81.0087)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F68EB #D4EB68
analogous
#6893EB #7F68EB #C068EB
triadic
#7F68EB #EB7F68 #68EB7F
tetradic
#7F68EB #EB6893 #D4EB68 #68EBC0
square
#7F68EB #EB6893 #D4EB68 #68EBC0
split-complementary
#7F68EB #EBC068 #93EB68
monochromatic
#3619BF #5132E4 #7F68EB #AD9EF2 #DBD4F9

Accessibility & contrast

On white

4.13
#7F68EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#7F68EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F68EB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F68EB#FFFFFF#000000##000000
##7F68EB1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1680EF
Deuteranopia (green-blind)
#1579E8
Tritanopia (blue-blind)
#5C85A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f68eb;
/* rgb */ color: rgb(127, 104, 235);
/* oklch */ color: oklch(60.6% 0.190 287.4);
Tailwind
colors: {
  custom: {
    50: '#ab94f2',
    500: '#7f68eb',
    950: '#000000',
  },
}
SCSS
$custom: #7f68eb;
$custom-light: #ab94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f68eb",
  "rgb": {
    "r": 127,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 250.534,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60572,
    "c": 0.18975,
    "h": 287.4
  },
  "luminance": 0.20411
}

Semantic roles & 50–950 ramp

primary
#7F68EB
secondary
#E5EDC2
accent
#D90DB5
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F68EB

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

Preview Lab → · Contrast checker → · Palette generator →

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