#7F6AFE#7F6AFE

#7F6AFE is a light, highly saturated blue. Relative luminance 0.220; OKLCH L 62.2% C 0.211 H 284.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7F6AFE
RGBrgb(127, 106, 254)
HSLhsl(249, 99%, 71%)
HSVhsv(249, 58%, 100%)
CMYKcmyk(50%, 58.3%, 0%, 0.4%)
CIE-LABlab(54.00, 45.35, -71.30)
CIE-LCHlch(54.00, 84.50, 302.46°)
OKLaboklab(62.23% 0.0544 -0.2041)
OKLCHoklch(62.23% 0.211 284.9)
XYZxyz(31.7905, 21.9742, 96.3131)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6AFE #E9FE6A
analogous
#6A9FFE #7F6AFE #C96AFE
triadic
#7F6AFE #FE7F6A #6AFE7F
tetradic
#7F6AFE #FE6A9F #E9FE6A #6AFEC9
square
#7F6AFE #FE6A9F #E9FE6A #6AFEC9
split-complementary
#7F6AFE #FEC96A #9FFE6A
monochromatic
#2302EC #4B2DFE #7F6AFE #B3A7FE #E5E1FF

Accessibility & contrast

On white

3.89
#7F6AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7F6AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6AFE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6AFE#FFFFFF#000000##000000
##7F6AFE1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#4F8CAA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7f6afe;
/* rgb */ color: rgb(127, 106, 254);
/* oklch */ color: oklch(62.2% 0.211 284.9);
Tailwind
colors: {
  custom: {
    50: '#ad95ff',
    500: '#7f6afe',
    950: '#000000',
  },
}
SCSS
$custom: #7f6afe;
$custom-light: #ad95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6afe",
  "rgb": {
    "r": 127,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 248.514,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62227,
    "c": 0.21121,
    "h": 284.9
  },
  "luminance": 0.21976
}

Semantic roles & 50–950 ramp

primary
#7F6AFE
secondary
#F0F6CE
accent
#E600C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7F6AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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