#7F6CF4#7F6CF4

#7F6CF4 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.9% C 0.196 H 285.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7F6CF4
RGBrgb(127, 108, 244)
HSLhsl(248, 86%, 69%)
HSVhsv(248, 56%, 96%)
CMYKcmyk(48%, 55.7%, 0%, 4.3%)
CIE-LABlab(53.78, 41.31, -66.11)
CIE-LCHlch(53.78, 77.95, 302.00°)
OKLaboklab(61.85% 0.0524 -0.1888)
OKLCHoklch(61.85% 0.196 285.5)
XYZxyz(30.4393, 21.7674, 88.1680)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6CF4 #E1F46C
analogous
#6C9DF4 #7F6CF4 #C36CF4
triadic
#7F6CF4 #F47F6C #6CF47F
tetradic
#7F6CF4 #F46C9D #E1F46C #6CF4C3
square
#7F6CF4 #F46C9D #E1F46C #6CF4C3
split-complementary
#7F6CF4 #F4C36C #9DF46C
monochromatic
#2C10D6 #4D33F0 #7F6CF4 #B1A5F8 #E2DEFD

Accessibility & contrast

On white

3.92
#7F6CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7F6CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6CF4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6CF4#FFFFFF#000000##000000
##7F6CF41.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F84F9
Deuteranopia (green-blind)
#037CF1
Tritanopia (blue-blind)
#568BA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f6cf4;
/* rgb */ color: rgb(127, 108, 244);
/* oklch */ color: oklch(61.9% 0.196 285.5);
Tailwind
colors: {
  custom: {
    50: '#ac96f9',
    500: '#7f6cf4',
    950: '#000000',
  },
}
SCSS
$custom: #7f6cf4;
$custom-light: #ac96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6cf4",
  "rgb": {
    "r": 127,
    "g": 108,
    "b": 244
  },
  "hsl": {
    "h": 248.382,
    "s": 86.076,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61854,
    "c": 0.19594,
    "h": 285.5
  },
  "luminance": 0.21769
}

Semantic roles & 50–950 ramp

primary
#7F6CF4
secondary
#ECF2CA
accent
#E303C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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