#7F6DF8#7F6DF8

#7F6DF8 is a light, vivid blue. Relative luminance 0.222; OKLCH L 62.3% C 0.200 H 284.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7F6DF8
RGBrgb(127, 109, 248)
HSLhsl(248, 91%, 70%)
HSVhsv(248, 56%, 97%)
CMYKcmyk(48.8%, 56%, 0%, 2.7%)
CIE-LABlab(54.27, 41.90, -67.54)
CIE-LCHlch(54.27, 79.48, 301.81°)
OKLaboklab(62.3% 0.0514 -0.193)
OKLCHoklch(62.3% 0.2 284.9)
XYZxyz(31.1593, 22.2251, 91.4368)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6DF8 #E6F86D
analogous
#6DA0F8 #7F6DF8 #C56DF8
triadic
#7F6DF8 #F87F6D #6DF87F
tetradic
#7F6DF8 #F86DA0 #E6F86D #6DF8C5
square
#7F6DF8 #F86DA0 #E6F86D #6DF8C5
split-complementary
#7F6DF8 #F8C56D #A0F86D
monochromatic
#260BE0 #4C33F5 #7F6DF8 #B2A7FB #E5E2FE

Accessibility & contrast

On white

3.86
#7F6DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#7F6DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6DF8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6DF8#FFFFFF#000000##000000
##7F6DF81.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0386FD
Deuteranopia (green-blind)
#007DF5
Tritanopia (blue-blind)
#538CA8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f6df8;
/* rgb */ color: rgb(127, 109, 248);
/* oklch */ color: oklch(62.3% 0.200 284.9);
Tailwind
colors: {
  custom: {
    50: '#ac97fb',
    500: '#7f6df8',
    950: '#000000',
  },
}
SCSS
$custom: #7f6df8;
$custom-light: #ac97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6df8",
  "rgb": {
    "r": 127,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 247.77,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.62296,
    "c": 0.19974,
    "h": 284.9
  },
  "luminance": 0.22227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F6DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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