#7F6DF7#7F6DF7

#7F6DF7 is a light, vivid blue. Relative luminance 0.222; OKLCH L 62.2% C 0.198 H 285.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7F6DF7
RGBrgb(127, 109, 247)
HSLhsl(248, 90%, 70%)
HSVhsv(248, 56%, 97%)
CMYKcmyk(48.6%, 55.9%, 0%, 3.1%)
CIE-LABlab(54.20, 41.61, -67.09)
CIE-LCHlch(54.20, 78.95, 301.80°)
OKLaboklab(62.23% 0.0514 -0.1917)
OKLCHoklch(62.23% 0.198 285)
XYZxyz(31.0046, 22.1632, 90.6219)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6DF7 #E5F76D
analogous
#6DA0F7 #7F6DF7 #C46DF7
triadic
#7F6DF7 #F77F6D #6DF77F
tetradic
#7F6DF7 #F76DA0 #E5F76D #6DF7C4
square
#7F6DF7 #F76DA0 #E5F76D #6DF7C4
split-complementary
#7F6DF7 #F7C46D #A0F76D
monochromatic
#270CDD #4C33F4 #7F6DF7 #B2A7FA #E5E1FD

Accessibility & contrast

On white

3.87
#7F6DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7F6DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6DF7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6DF7#FFFFFF#000000##000000
##7F6DF71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0986FC
Deuteranopia (green-blind)
#007DF4
Tritanopia (blue-blind)
#548CA8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f6df7;
/* rgb */ color: rgb(127, 109, 247);
/* oklch */ color: oklch(62.2% 0.198 285.0);
Tailwind
colors: {
  custom: {
    50: '#ac97fb',
    500: '#7f6df7',
    950: '#000000',
  },
}
SCSS
$custom: #7f6df7;
$custom-light: #ac97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6df7",
  "rgb": {
    "r": 127,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 247.826,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62227,
    "c": 0.19846,
    "h": 285
  },
  "luminance": 0.22165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F6DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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