#7F68EA#7F68EA

#7F68EA is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.5% C 0.188 H 287.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7F68EA
RGBrgb(127, 104, 234)
HSLhsl(251, 76%, 66%)
HSVhsv(251, 56%, 92%)
CMYKcmyk(45.7%, 55.6%, 0%, 8.2%)
CIE-LABlab(52.23, 40.75, -63.02)
CIE-LCHlch(52.23, 75.04, 302.89°)
OKLaboklab(60.5% 0.0567 -0.1797)
OKLCHoklch(60.5% 0.188 287.5)
XYZxyz(28.5497, 20.3520, 80.2500)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F68EA #D3EA68
analogous
#6892EA #7F68EA #C068EA
triadic
#7F68EA #EA7F68 #68EA7F
tetradic
#7F68EA #EA6892 #D3EA68 #68EAC0
square
#7F68EA #EA6892 #D3EA68 #68EAC0
split-complementary
#7F68EA #EAC068 #92EA68
monochromatic
#371ABD #5132E3 #7F68EA #AD9EF1 #DAD3F9

Accessibility & contrast

On white

4.14
#7F68EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7F68EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F68EA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F68EA#FFFFFF#000000##000000
##7F68EA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1980EE
Deuteranopia (green-blind)
#1979E7
Tritanopia (blue-blind)
#5D859F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f68ea;
/* rgb */ color: rgb(127, 104, 234);
/* oklch */ color: oklch(60.5% 0.188 287.5);
Tailwind
colors: {
  custom: {
    50: '#ab94f1',
    500: '#7f68ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f68ea;
$custom-light: #ab94f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f68ea",
  "rgb": {
    "r": 127,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 250.615,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60504,
    "c": 0.18846,
    "h": 287.5
  },
  "luminance": 0.20353
}

Semantic roles & 50–950 ramp

primary
#7F68EA
secondary
#E5ECC2
accent
#D80EB4
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F68EA

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

Preview Lab → · Contrast checker → · Palette generator →

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