#7F6EF5#7F6EF5

#7F6EF5 is a light, vivid blue. Relative luminance 0.223; OKLCH L 62.3% C 0.195 H 285.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7F6EF5
RGBrgb(127, 110, 245)
HSLhsl(248, 87%, 70%)
HSVhsv(248, 55%, 96%)
CMYKcmyk(48.2%, 55.1%, 0%, 3.9%)
CIE-LABlab(54.30, 40.45, -65.83)
CIE-LCHlch(54.30, 77.26, 301.57°)
OKLaboklab(62.26% 0.0503 -0.188)
OKLCHoklch(62.26% 0.195 285)
XYZxyz(30.8049, 22.2550, 89.0410)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6EF5 #E4F56E
analogous
#6EA0F5 #7F6EF5 #C36EF5
triadic
#7F6EF5 #F57F6E #6EF57F
tetradic
#7F6EF5 #F56EA0 #E4F56E #6EF5C3
square
#7F6EF5 #F56EA0 #E4F56E #6EF5C3
split-complementary
#7F6EF5 #F5C36E #A0F56E
monochromatic
#290FDA #4C35F1 #7F6EF5 #B2A7F9 #E4E1FD

Accessibility & contrast

On white

3.85
#7F6EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#7F6EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6EF5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6EF5#FFFFFF#000000##000000
##7F6EF51.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1886FA
Deuteranopia (green-blind)
#0D7EF2
Tritanopia (blue-blind)
#558CA7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f6ef5;
/* rgb */ color: rgb(127, 110, 245);
/* oklch */ color: oklch(62.3% 0.195 285.0);
Tailwind
colors: {
  custom: {
    50: '#ac98f9',
    500: '#7f6ef5',
    950: '#000000',
  },
}
SCSS
$custom: #7f6ef5;
$custom-light: #ac98f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6ef5",
  "rgb": {
    "r": 127,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 247.556,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62257,
    "c": 0.19458,
    "h": 285
  },
  "luminance": 0.22256
}

Semantic roles & 50–950 ramp

primary
#7F6EF5
secondary
#EEF3CC
accent
#E402C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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