#7F6FEE#7F6FEE

#7F6FEE is a mid, vivid blue. Relative luminance 0.221; OKLCH L 62.0% C 0.184 H 285.4°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7F6FEE
RGBrgb(127, 111, 238)
HSLhsl(248, 79%, 68%)
HSVhsv(248, 53%, 93%)
CMYKcmyk(46.6%, 53.4%, 0%, 6.7%)
CIE-LABlab(54.08, 37.84, -62.27)
CIE-LCHlch(54.08, 72.87, 301.28°)
OKLaboklab(61.96% 0.049 -0.1775)
OKLCHoklch(61.96% 0.184 285.4)
XYZxyz(29.8649, 22.0526, 83.5553)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6FEE #DEEE6F
analogous
#6F9EEE #7F6FEE #BE6FEE
triadic
#7F6FEE #EE7F6F #6FEE7F
tetradic
#7F6FEE #EE6F9E #DEEE6F #6FEEBE
square
#7F6FEE #EE6F9E #DEEE6F #6FEEBE
split-complementary
#7F6FEE #EEBE6F #9EEE6F
monochromatic
#2E18CB #4E38E8 #7F6FEE #B0A6F4 #E0DCFB

Accessibility & contrast

On white

3.88
#7F6FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7F6FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6FEE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6FEE#FFFFFF#000000##000000
##7F6FEE1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F2
Deuteranopia (green-blind)
#277EEB
Tritanopia (blue-blind)
#5A8BA4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7f6fee;
/* rgb */ color: rgb(127, 111, 238);
/* oklch */ color: oklch(62.0% 0.184 285.4);
Tailwind
colors: {
  custom: {
    50: '#ab98f4',
    500: '#7f6fee',
    950: '#000000',
  },
}
SCSS
$custom: #7f6fee;
$custom-light: #ab98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6fee",
  "rgb": {
    "r": 127,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 247.559,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61957,
    "c": 0.18414,
    "h": 285.4
  },
  "luminance": 0.22054
}

Semantic roles & 50–950 ramp

primary
#7F6FEE
secondary
#EBF0C9
accent
#DB0AC1
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #7F6FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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