#7F6AEE#7F6AEE

#7F6AEE is a mid, vivid blue. Relative luminance 0.210; OKLCH L 61.1% C 0.191 H 286.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7F6AEE
RGBrgb(127, 106, 238)
HSLhsl(250, 80%, 67%)
HSVhsv(250, 55%, 93%)
CMYKcmyk(46.6%, 55.5%, 0%, 6.7%)
CIE-LABlab(52.94, 40.74, -64.11)
CIE-LCHlch(52.94, 75.96, 302.43°)
OKLaboklab(61.11% 0.0546 -0.1829)
OKLCHoklch(61.11% 0.191 286.6)
XYZxyz(29.3346, 20.9919, 83.3785)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6AEE #D9EE6A
analogous
#6A97EE #7F6AEE #C16AEE
triadic
#7F6AEE #EE7F6A #6AEE7F
tetradic
#7F6AEE #EE6A97 #D9EE6A #6AEEC1
square
#7F6AEE #EE6A97 #D9EE6A #6AEEC1
split-complementary
#7F6AEE #EEC16A #97EE6A
monochromatic
#3317C7 #5033E8 #7F6AEE #AEA1F4 #DDD8FB

Accessibility & contrast

On white

4.04
#7F6AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7F6AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6AEE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6AEE#FFFFFF#000000##000000
##7F6AEE1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1882F2
Deuteranopia (green-blind)
#147BEB
Tritanopia (blue-blind)
#5A87A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7f6aee;
/* rgb */ color: rgb(127, 106, 238);
/* oklch */ color: oklch(61.1% 0.191 286.6);
Tailwind
colors: {
  custom: {
    50: '#ab95f4',
    500: '#7f6aee',
    950: '#000000',
  },
}
SCSS
$custom: #7f6aee;
$custom-light: #ab95f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6aee",
  "rgb": {
    "r": 127,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 249.545,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61109,
    "c": 0.1909,
    "h": 286.6
  },
  "luminance": 0.20993
}

Semantic roles & 50–950 ramp

primary
#7F6AEE
secondary
#E8EFC5
accent
#DC0ABA
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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