#7F66F7#7F66F7

#7F66F7 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.1% C 0.208 H 286.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7F66F7
RGBrgb(127, 102, 247)
HSLhsl(250, 90%, 68%)
HSVhsv(250, 59%, 97%)
CMYKcmyk(48.6%, 58.7%, 0%, 3.1%)
CIE-LABlab(52.65, 45.60, -69.60)
CIE-LCHlch(52.65, 83.21, 303.23°)
OKLaboklab(61.09% 0.0587 -0.1991)
OKLCHoklch(61.09% 0.208 286.4)
XYZxyz(30.2873, 20.7288, 90.3828)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F66F7 #DEF766
analogous
#6695F7 #7F66F7 #C766F7
triadic
#7F66F7 #F77F66 #66F77F
tetradic
#7F66F7 #F76695 #DEF766 #66F7C7
square
#7F66F7 #F76695 #DEF766 #66F7C7
split-complementary
#7F66F7 #F7C766 #95F766
monochromatic
#2E0BD7 #4E2CF4 #7F66F7 #B0A0FA #E0DAFD

Accessibility & contrast

On white

4.08
#7F66F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#7F66F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F66F7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F66F7#FFFFFF#000000##000000
##7F66F71.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#0079F4
Tritanopia (blue-blind)
#5588A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7f66f7;
/* rgb */ color: rgb(127, 102, 247);
/* oklch */ color: oklch(61.1% 0.208 286.4);
Tailwind
colors: {
  custom: {
    50: '#ac92fb',
    500: '#7f66f7',
    950: '#000000',
  },
}
SCSS
$custom: #7f66f7;
$custom-light: #ac92fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f66f7",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 250.345,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61086,
    "c": 0.20757,
    "h": 286.4
  },
  "luminance": 0.2073
}

Semantic roles & 50–950 ramp

primary
#7F66F7
secondary
#EBF2C7
accent
#E600BE
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F66F7

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

Preview Lab → · Contrast checker → · Palette generator →

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