#7F6FF6#7F6FF6

#7F6FF6 is a light, vivid blue. Relative luminance 0.225; OKLCH L 62.5% C 0.195 H 284.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7F6FF6
RGBrgb(127, 111, 246)
HSLhsl(247, 88%, 70%)
HSVhsv(247, 55%, 96%)
CMYKcmyk(48.4%, 54.9%, 0%, 3.5%)
CIE-LABlab(54.59, 40.16, -65.91)
CIE-LCHlch(54.59, 77.18, 301.35°)
OKLaboklab(62.49% 0.0492 -0.1882)
OKLCHoklch(62.49% 0.195 284.6)
XYZxyz(31.0664, 22.5332, 89.8833)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6FF6 #E6F66F
analogous
#6FA3F6 #7F6FF6 #C26FF6
triadic
#7F6FF6 #F67F6F #6FF67F
tetradic
#7F6FF6 #F66FA3 #E6F66F #6FF6C2
square
#7F6FF6 #F66FA3 #E6F66F #6FF6C2
split-complementary
#7F6FF6 #F6C26F #A3F66F
monochromatic
#260EDD #4C35F2 #7F6FF6 #B2A9FA #E5E2FD

Accessibility & contrast

On white

3.81
#7F6FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7F6FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6FF6
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6FF6#FFFFFF#000000##000000
##7F6FF61.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B87FB
Deuteranopia (green-blind)
#0F7EF3
Tritanopia (blue-blind)
#548DA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7f6ff6;
/* rgb */ color: rgb(127, 111, 246);
/* oklch */ color: oklch(62.5% 0.195 284.6);
Tailwind
colors: {
  custom: {
    50: '#ac99fa',
    500: '#7f6ff6',
    950: '#000000',
  },
}
SCSS
$custom: #7f6ff6;
$custom-light: #ac99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6ff6",
  "rgb": {
    "r": 127,
    "g": 111,
    "b": 246
  },
  "hsl": {
    "h": 247.111,
    "s": 88.235,
    "l": 70
  },
  "oklch": {
    "l": 0.62494,
    "c": 0.19453,
    "h": 284.6
  },
  "luminance": 0.22535
}

Semantic roles & 50–950 ramp

primary
#7F6FF6
secondary
#EFF3CE
accent
#E501CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7F6FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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