#7F66EB#7F66EB

#7F66EB is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.2% C 0.192 H 287.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7F66EB
RGBrgb(127, 102, 235)
HSLhsl(251, 77%, 66%)
HSVhsv(251, 57%, 92%)
CMYKcmyk(46%, 56.6%, 0%, 7.8%)
CIE-LABlab(51.85, 42.18, -64.19)
CIE-LCHlch(51.85, 76.81, 303.31°)
OKLaboklab(60.24% 0.059 -0.1832)
OKLCHoklch(60.24% 0.192 287.8)
XYZxyz(28.4949, 20.0118, 80.9424)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F66EB #D2EB66
analogous
#668FEB #7F66EB #C166EB
triadic
#7F66EB #EB7F66 #66EB7F
tetradic
#7F66EB #EB668F #D2EB66 #66EBC1
square
#7F66EB #EB668F #D2EB66 #66EBC1
split-complementary
#7F66EB #EBC166 #8FEB66
monochromatic
#3819BE #5230E4 #7F66EB #AC9CF2 #DAD2F9

Accessibility & contrast

On white

4.20
#7F66EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7F66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F66EB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F66EB#FFFFFF#000000##000000
##7F66EB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#077FEF
Deuteranopia (green-blind)
#0A78E8
Tritanopia (blue-blind)
#5C849F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7f66eb;
/* rgb */ color: rgb(127, 102, 235);
/* oklch */ color: oklch(60.2% 0.192 287.8);
Tailwind
colors: {
  custom: {
    50: '#ab92f2',
    500: '#7f66eb',
    950: '#000000',
  },
}
SCSS
$custom: #7f66eb;
$custom-light: #ab92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f66eb",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 251.278,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60242,
    "c": 0.19244,
    "h": 287.8
  },
  "luminance": 0.20013
}

Semantic roles & 50–950 ramp

primary
#7F66EB
secondary
#E4ECC1
accent
#D90CB3
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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