#7F6CF3#7F6CF3

#7F6CF3 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.8% C 0.195 H 285.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7F6CF3
RGBrgb(127, 108, 243)
HSLhsl(248, 85%, 69%)
HSVhsv(248, 56%, 95%)
CMYKcmyk(47.7%, 55.6%, 0%, 4.7%)
CIE-LABlab(53.71, 41.02, -65.65)
CIE-LCHlch(53.71, 77.42, 302.00°)
OKLaboklab(61.79% 0.0524 -0.1875)
OKLCHoklch(61.79% 0.195 285.6)
XYZxyz(30.2879, 21.7068, 87.3706)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6CF3 #E0F36C
analogous
#6C9DF3 #7F6CF3 #C26CF3
triadic
#7F6CF3 #F37F6C #6CF37F
tetradic
#7F6CF3 #F36C9D #E0F36C #6CF3C2
square
#7F6CF3 #F36C9D #E0F36C #6CF3C2
split-complementary
#7F6CF3 #F3C26C #9DF36C
monochromatic
#2D11D3 #4E33EE #7F6CF3 #B0A5F8 #E2DDFC

Accessibility & contrast

On white

3.93
#7F6CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#7F6CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6CF3
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6CF3#FFFFFF#000000##000000
##7F6CF31.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1384F8
Deuteranopia (green-blind)
#097CF0
Tritanopia (blue-blind)
#578AA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f6cf3;
/* rgb */ color: rgb(127, 108, 243);
/* oklch */ color: oklch(61.8% 0.195 285.6);
Tailwind
colors: {
  custom: {
    50: '#ab96f8',
    500: '#7f6cf3',
    950: '#000000',
  },
}
SCSS
$custom: #7f6cf3;
$custom-light: #ab96f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6cf3",
  "rgb": {
    "r": 127,
    "g": 108,
    "b": 243
  },
  "hsl": {
    "h": 248.444,
    "s": 84.906,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61785,
    "c": 0.19466,
    "h": 285.6
  },
  "luminance": 0.21708
}

Semantic roles & 50–950 ramp

primary
#7F6CF3
secondary
#ECF1C9
accent
#E104C2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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