#7F6CF7#7F6CF7

#7F6CF7 is a light, vivid blue. Relative luminance 0.220; OKLCH L 62.1% C 0.200 H 285.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7F6CF7
RGBrgb(127, 108, 247)
HSLhsl(248, 90%, 70%)
HSVhsv(248, 56%, 97%)
CMYKcmyk(48.6%, 56.3%, 0%, 3.1%)
CIE-LABlab(53.98, 42.18, -67.46)
CIE-LCHlch(53.98, 79.56, 302.02°)
OKLaboklab(62.06% 0.0524 -0.1928)
OKLCHoklch(62.06% 0.2 285.2)
XYZxyz(30.8985, 21.9511, 90.5865)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6CF7 #E4F76C
analogous
#6C9FF7 #7F6CF7 #C46CF7
triadic
#7F6CF7 #F77F6C #6CF77F
tetradic
#7F6CF7 #F76C9F #E4F76C #6CF7C4
square
#7F6CF7 #F76C9F #E4F76C #6CF7C4
split-complementary
#7F6CF7 #F7C46C #9FF76C
monochromatic
#290CDD #4C32F4 #7F6CF7 #B2A6FA #E4E0FD

Accessibility & contrast

On white

3.90
#7F6CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7F6CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6CF7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6CF7#FFFFFF#000000##000000
##7F6CF71.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FC
Deuteranopia (green-blind)
#007DF4
Tritanopia (blue-blind)
#548CA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7f6cf7;
/* rgb */ color: rgb(127, 108, 247);
/* oklch */ color: oklch(62.1% 0.200 285.2);
Tailwind
colors: {
  custom: {
    50: '#ac97fb',
    500: '#7f6cf7',
    950: '#000000',
  },
}
SCSS
$custom: #7f6cf7;
$custom-light: #ac97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6cf7",
  "rgb": {
    "r": 127,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 248.201,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62061,
    "c": 0.19977,
    "h": 285.2
  },
  "luminance": 0.21953
}

Semantic roles & 50–950 ramp

primary
#7F6CF7
secondary
#EEF3CC
accent
#E600C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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