#7F6AF7#7F6AF7

#7F6AF7 is a mid, highly saturated blue. Relative luminance 0.215; OKLCH L 61.7% C 0.202 H 285.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7F6AF7
RGBrgb(127, 106, 247)
HSLhsl(249, 90%, 69%)
HSVhsv(249, 57%, 97%)
CMYKcmyk(48.6%, 57.1%, 0%, 3.1%)
CIE-LABlab(53.53, 43.33, -68.18)
CIE-LCHlch(53.53, 80.78, 302.44°)
OKLaboklab(61.73% 0.0545 -0.1949)
OKLCHoklch(61.73% 0.202 285.6)
XYZxyz(30.6900, 21.5340, 90.5170)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6AF7 #E2F76A
analogous
#6A9CF7 #7F6AF7 #C66AF7
triadic
#7F6AF7 #F77F6A #6AF77F
tetradic
#7F6AF7 #F76A9C #E2F76A #6AF7C6
square
#7F6AF7 #F76A9C #E2F76A #6AF7C6
split-complementary
#7F6AF7 #F7C66A #9CF76A
monochromatic
#2B0CDB #4D30F4 #7F6AF7 #B1A4FA #E3DEFD

Accessibility & contrast

On white

3.96
#7F6AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7F6AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6AF7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6AF7#FFFFFF#000000##000000
##7F6AF71.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#548AA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f6af7;
/* rgb */ color: rgb(127, 106, 247);
/* oklch */ color: oklch(61.7% 0.202 285.6);
Tailwind
colors: {
  custom: {
    50: '#ac95fb',
    500: '#7f6af7',
    950: '#000000',
  },
}
SCSS
$custom: #7f6af7;
$custom-light: #ac95fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6af7",
  "rgb": {
    "r": 127,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 248.936,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61731,
    "c": 0.20239,
    "h": 285.6
  },
  "luminance": 0.21535
}

Semantic roles & 50–950 ramp

primary
#7F6AF7
secondary
#EDF3CA
accent
#E600C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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