#7F6EF8#7F6EF8

#7F6EF8 is a light, vivid blue. Relative luminance 0.224; OKLCH L 62.5% C 0.198 H 284.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7F6EF8
RGBrgb(127, 110, 248)
HSLhsl(247, 91%, 70%)
HSVhsv(247, 56%, 97%)
CMYKcmyk(48.8%, 55.6%, 0%, 2.7%)
CIE-LABlab(54.49, 41.32, -67.18)
CIE-LCHlch(54.49, 78.87, 301.59°)
OKLaboklab(62.46% 0.0503 -0.1919)
OKLCHoklch(62.46% 0.198 284.7)
XYZxyz(31.2666, 22.4397, 91.4725)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6EF8 #E7F86E
analogous
#6EA2F8 #7F6EF8 #C46EF8
triadic
#7F6EF8 #F87F6E #6EF87F
tetradic
#7F6EF8 #F86EA2 #E7F86E #6EF8C4
square
#7F6EF8 #F86EA2 #E7F86E #6EF8C4
split-complementary
#7F6EF8 #F8C46E #A2F86E
monochromatic
#250BE1 #4B34F5 #7F6EF8 #B3A8FB #E5E2FE

Accessibility & contrast

On white

3.83
#7F6EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7F6EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6EF8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6EF8#FFFFFF#000000##000000
##7F6EF81.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D86FD
Deuteranopia (green-blind)
#007EF5
Tritanopia (blue-blind)
#538DA8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f6ef8;
/* rgb */ color: rgb(127, 110, 248);
/* oklch */ color: oklch(62.5% 0.198 284.7);
Tailwind
colors: {
  custom: {
    50: '#ac98fb',
    500: '#7f6ef8',
    950: '#000000',
  },
}
SCSS
$custom: #7f6ef8;
$custom-light: #ac98fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6ef8",
  "rgb": {
    "r": 127,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 247.391,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.62463,
    "c": 0.19843,
    "h": 284.7
  },
  "luminance": 0.22441
}

Semantic roles & 50–950 ramp

primary
#7F6EF8
secondary
#EFF4CE
accent
#E600C9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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