#7F6CFE#7F6CFE

#7F6CFE is a light, highly saturated blue. Relative luminance 0.224; OKLCH L 62.6% C 0.209 H 284.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7F6CFE
RGBrgb(127, 108, 254)
HSLhsl(248, 99%, 71%)
HSVhsv(248, 57%, 100%)
CMYKcmyk(50%, 57.5%, 0%, 0.4%)
CIE-LABlab(54.44, 44.21, -70.59)
CIE-LCHlch(54.44, 83.29, 302.06°)
OKLaboklab(62.55% 0.0524 -0.202)
OKLCHoklch(62.55% 0.209 284.5)
XYZxyz(31.9990, 22.3913, 96.3826)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6CFE #EBFE6C
analogous
#6CA2FE #7F6CFE #C86CFE
triadic
#7F6CFE #FE7F6C #6CFE7F
tetradic
#7F6CFE #FE6CA2 #EBFE6C #6CFEC8
square
#7F6CFE #FE6CA2 #EBFE6C #6CFEC8
split-complementary
#7F6CFE #FEC86C #A2FE6C
monochromatic
#2002EE #4A2FFE #7F6CFE #B4A9FE #E5E1FF

Accessibility & contrast

On white

3.83
#7F6CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7F6CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6CFE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6CFE#FFFFFF#000000##000000
##7F6CFE1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007EFB
Tritanopia (blue-blind)
#4F8EAB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f6cfe;
/* rgb */ color: rgb(127, 108, 254);
/* oklch */ color: oklch(62.6% 0.209 284.5);
Tailwind
colors: {
  custom: {
    50: '#ad97ff',
    500: '#7f6cfe',
    950: '#000000',
  },
}
SCSS
$custom: #7f6cfe;
$custom-light: #ad97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6cfe",
  "rgb": {
    "r": 127,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 247.808,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.62551,
    "c": 0.20865,
    "h": 284.5
  },
  "luminance": 0.22393
}

Semantic roles & 50–950 ramp

primary
#7F6CFE
secondary
#F1F6CF
accent
#E600C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7F6CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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