#7F68EE#7F68EE

#7F68EE is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.8% C 0.194 H 287.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7F68EE
RGBrgb(127, 104, 238)
HSLhsl(250, 80%, 67%)
HSVhsv(250, 56%, 93%)
CMYKcmyk(46.6%, 56.3%, 0%, 6.7%)
CIE-LABlab(52.49, 41.89, -64.84)
CIE-LCHlch(52.49, 77.19, 302.87°)
OKLaboklab(60.78% 0.0568 -0.1851)
OKLCHoklch(60.78% 0.194 287)
XYZxyz(29.1308, 20.5844, 83.3106)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F68EE #D7EE68
analogous
#6894EE #7F68EE #C268EE
triadic
#7F68EE #EE7F68 #68EE7F
tetradic
#7F68EE #EE6894 #D7EE68 #68EEC2
square
#7F68EE #EE6894 #D7EE68 #68EEC2
split-complementary
#7F68EE #EEC268 #94EE68
monochromatic
#3416C5 #5031E8 #7F68EE #AE9FF4 #DCD6FA

Accessibility & contrast

On white

4.10
#7F68EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7F68EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F68EE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F68EE#FFFFFF#000000##000000
##7F68EE1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0981F2
Deuteranopia (green-blind)
#077AEB
Tritanopia (blue-blind)
#5A86A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f68ee;
/* rgb */ color: rgb(127, 104, 238);
/* oklch */ color: oklch(60.8% 0.194 287.0);
Tailwind
colors: {
  custom: {
    50: '#ab94f4',
    500: '#7f68ee',
    950: '#000000',
  },
}
SCSS
$custom: #7f68ee;
$custom-light: #ab94f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f68ee",
  "rgb": {
    "r": 127,
    "g": 104,
    "b": 238
  },
  "hsl": {
    "h": 250.299,
    "s": 79.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60777,
    "c": 0.19359,
    "h": 287
  },
  "luminance": 0.20586
}

Semantic roles & 50–950 ramp

primary
#7F68EE
secondary
#E7EEC4
accent
#DC09B8
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F68EE

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

Preview Lab → · Contrast checker → · Palette generator →

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