#7F66EC#7F66EC

#7F66EC is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.3% C 0.194 H 287.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7F66EC
RGBrgb(127, 102, 236)
HSLhsl(251, 78%, 66%)
HSVhsv(251, 57%, 93%)
CMYKcmyk(46.2%, 56.8%, 0%, 7.5%)
CIE-LABlab(51.92, 42.47, -64.65)
CIE-LCHlch(51.92, 77.35, 303.30°)
OKLaboklab(60.31% 0.059 -0.1845)
OKLCHoklch(60.31% 0.194 287.7)
XYZxyz(28.6397, 20.0697, 81.7054)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F66EC #D3EC66
analogous
#6690EC #7F66EC #C266EC
triadic
#7F66EC #EC7F66 #66EC7F
tetradic
#7F66EC #EC6690 #D3EC66 #66ECC2
square
#7F66EC #EC6690 #D3EC66 #66ECC2
split-complementary
#7F66EC #ECC266 #90EC66
monochromatic
#3718C0 #5130E5 #7F66EC #AD9CF3 #DAD3FA

Accessibility & contrast

On white

4.19
#7F66EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7F66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F66EC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F66EC#FFFFFF#000000##000000
##7F66EC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#017FF0
Deuteranopia (green-blind)
#0478E9
Tritanopia (blue-blind)
#5C849F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7f66ec;
/* rgb */ color: rgb(127, 102, 236);
/* oklch */ color: oklch(60.3% 0.194 287.7);
Tailwind
colors: {
  custom: {
    50: '#ab92f3',
    500: '#7f66ec',
    950: '#000000',
  },
}
SCSS
$custom: #7f66ec;
$custom-light: #ab92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f66ec",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 251.194,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60311,
    "c": 0.19372,
    "h": 287.7
  },
  "luminance": 0.20071
}

Semantic roles & 50–950 ramp

primary
#7F66EC
secondary
#E5EDC1
accent
#DA0BB4
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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