#7F6EF6#7F6EF6

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

Color values

HEX#7F6EF6
RGBrgb(127, 110, 246)
HSLhsl(248, 88%, 70%)
HSVhsv(248, 55%, 96%)
CMYKcmyk(48.4%, 55.3%, 0%, 3.5%)
CIE-LABlab(54.36, 40.74, -66.28)
CIE-LCHlch(54.36, 77.80, 301.58°)
OKLaboklab(62.33% 0.0503 -0.1893)
OKLCHoklch(62.33% 0.196 284.9)
XYZxyz(30.9579, 22.3162, 89.8471)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6EF6 #E5F66E
analogous
#6EA1F6 #7F6EF6 #C36EF6
triadic
#7F6EF6 #F67F6E #6EF67F
tetradic
#7F6EF6 #F66EA1 #E5F66E #6EF6C3
square
#7F6EF6 #F66EA1 #E5F66E #6EF6C3
split-complementary
#7F6EF6 #F6C36E #A1F66E
monochromatic
#270EDC #4C34F2 #7F6EF6 #B2A8FA #E5E1FD

Accessibility & contrast

On white

3.84
#7F6EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#7F6EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6EF6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6EF6#FFFFFF#000000##000000
##7F6EF61.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1586FB
Deuteranopia (green-blind)
#077EF3
Tritanopia (blue-blind)
#548DA7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f6ef6;
/* rgb */ color: rgb(127, 110, 246);
/* oklch */ color: oklch(62.3% 0.196 284.9);
Tailwind
colors: {
  custom: {
    50: '#ac98fa',
    500: '#7f6ef6',
    950: '#000000',
  },
}
SCSS
$custom: #7f6ef6;
$custom-light: #ac98fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6ef6",
  "rgb": {
    "r": 127,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 247.5,
    "s": 88.312,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62325,
    "c": 0.19586,
    "h": 284.9
  },
  "luminance": 0.22318
}

Semantic roles & 50–950 ramp

primary
#7F6EF6
secondary
#EEF3CD
accent
#E501C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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