#7F6CEF#7F6CEF

#7F6CEF is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.5% C 0.190 H 286.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7F6CEF
RGBrgb(127, 108, 239)
HSLhsl(249, 80%, 68%)
HSVhsv(249, 55%, 94%)
CMYKcmyk(46.9%, 54.8%, 0%, 6.3%)
CIE-LABlab(53.46, 39.87, -63.84)
CIE-LCHlch(53.46, 75.27, 301.99°)
OKLaboklab(61.51% 0.0524 -0.1821)
OKLCHoklch(61.51% 0.19 286)
XYZxyz(29.6904, 21.4678, 84.2239)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6CEF #DCEF6C
analogous
#6C9AEF #7F6CEF #C06CEF
triadic
#7F6CEF #EF7F6C #6CEF7F
tetradic
#7F6CEF #EF6C9A #DCEF6C #6CEFC0
square
#7F6CEF #EF6C9A #DCEF6C #6CEFC0
split-complementary
#7F6CEF #EFC06C #9AEF6C
monochromatic
#3016CB #4F35E9 #7F6CEF #AFA3F5 #DFDAFB

Accessibility & contrast

On white

3.97
#7F6CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#7F6CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6CEF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6CEF#FFFFFF#000000##000000
##7F6CEF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E83F3
Deuteranopia (green-blind)
#1A7CEC
Tritanopia (blue-blind)
#5989A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f6cef;
/* rgb */ color: rgb(127, 108, 239);
/* oklch */ color: oklch(61.5% 0.190 286.0);
Tailwind
colors: {
  custom: {
    50: '#ab96f5',
    500: '#7f6cef',
    950: '#000000',
  },
}
SCSS
$custom: #7f6cef;
$custom-light: #ab96f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6cef",
  "rgb": {
    "r": 127,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 248.702,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61513,
    "c": 0.1895,
    "h": 286
  },
  "luminance": 0.21469
}

Semantic roles & 50–950 ramp

primary
#7F6CEF
secondary
#EAEFC7
accent
#DD09BE
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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