#7F6DEE#7F6DEE

#7F6DEE is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.6% C 0.187 H 285.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7F6DEE
RGBrgb(127, 109, 238)
HSLhsl(248, 79%, 68%)
HSVhsv(248, 54%, 93%)
CMYKcmyk(46.6%, 54.2%, 0%, 6.7%)
CIE-LABlab(53.62, 39.00, -63.01)
CIE-LCHlch(53.62, 74.11, 301.76°)
OKLaboklab(61.61% 0.0512 -0.1797)
OKLCHoklch(61.61% 0.187 285.9)
XYZxyz(29.6491, 21.6210, 83.4834)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6DEE #DCEE6D
analogous
#6D9BEE #7F6DEE #BF6DEE
triadic
#7F6DEE #EE7F6D #6DEE7F
tetradic
#7F6DEE #EE6D9B #DCEE6D #6DEEBF
square
#7F6DEE #EE6D9B #DCEE6D #6DEEBF
split-complementary
#7F6DEE #EEBF6D #9BEE6D
monochromatic
#3017C9 #4F36E8 #7F6DEE #AFA4F4 #DFDBFB

Accessibility & contrast

On white

3.94
#7F6DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7F6DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6DEE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6DEE#FFFFFF#000000##000000
##7F6DEE1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2584F2
Deuteranopia (green-blind)
#207CEB
Tritanopia (blue-blind)
#5A89A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f6dee;
/* rgb */ color: rgb(127, 109, 238);
/* oklch */ color: oklch(61.6% 0.187 285.9);
Tailwind
colors: {
  custom: {
    50: '#ab97f4',
    500: '#7f6dee',
    950: '#000000',
  },
}
SCSS
$custom: #7f6dee;
$custom-light: #ab97f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6dee",
  "rgb": {
    "r": 127,
    "g": 109,
    "b": 238
  },
  "hsl": {
    "h": 248.372,
    "s": 79.141,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61615,
    "c": 0.18686,
    "h": 285.9
  },
  "luminance": 0.21622
}

Semantic roles & 50–950 ramp

primary
#7F6DEE
secondary
#EAEFC8
accent
#DB0ABE
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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