#7F6EF4#7F6EF4

#7F6EF4 is a light, vivid blue. Relative luminance 0.222; OKLCH L 62.2% C 0.193 H 285.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7F6EF4
RGBrgb(127, 110, 244)
HSLhsl(248, 86%, 69%)
HSVhsv(248, 55%, 96%)
CMYKcmyk(48%, 54.9%, 0%, 4.3%)
CIE-LABlab(54.23, 40.16, -65.37)
CIE-LCHlch(54.23, 76.72, 301.56°)
OKLaboklab(62.19% 0.0503 -0.1866)
OKLCHoklch(62.19% 0.193 285.1)
XYZxyz(30.6526, 22.1941, 88.2392)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6EF4 #E3F46E
analogous
#6EA0F4 #7F6EF4 #C26EF4
triadic
#7F6EF4 #F47F6E #6EF47F
tetradic
#7F6EF4 #F46EA0 #E3F46E #6EF4C2
square
#7F6EF4 #F46EA0 #E3F46E #6EF4C2
split-complementary
#7F6EF4 #F4C26E #A0F46E
monochromatic
#2A10D7 #4D35F0 #7F6EF4 #B1A7F8 #E3E0FD

Accessibility & contrast

On white

3.86
#7F6EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7F6EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6EF4
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6EF4#FFFFFF#000000##000000
##7F6EF41.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B86F9
Deuteranopia (green-blind)
#127EF1
Tritanopia (blue-blind)
#568CA6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f6ef4;
/* rgb */ color: rgb(127, 110, 244);
/* oklch */ color: oklch(62.2% 0.193 285.1);
Tailwind
colors: {
  custom: {
    50: '#ab98f8',
    500: '#7f6ef4',
    950: '#000000',
  },
}
SCSS
$custom: #7f6ef4;
$custom-light: #ab98f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6ef4",
  "rgb": {
    "r": 127,
    "g": 110,
    "b": 244
  },
  "hsl": {
    "h": 247.612,
    "s": 85.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62189,
    "c": 0.19329,
    "h": 285.1
  },
  "luminance": 0.22196
}

Semantic roles & 50–950 ramp

primary
#7F6EF4
secondary
#EDF2CC
accent
#E203C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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