#7F6DF3#7F6DF3

#7F6DF3 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 62.0% C 0.193 H 285.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7F6DF3
RGBrgb(127, 109, 243)
HSLhsl(248, 85%, 69%)
HSVhsv(248, 55%, 95%)
CMYKcmyk(47.7%, 55.1%, 0%, 4.7%)
CIE-LABlab(53.94, 40.45, -65.29)
CIE-LCHlch(53.94, 76.80, 301.78°)
OKLaboklab(61.95% 0.0513 -0.1864)
OKLCHoklch(61.95% 0.193 285.4)
XYZxyz(30.3939, 21.9189, 87.4059)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6DF3 #E1F36D
analogous
#6D9EF3 #7F6DF3 #C26DF3
triadic
#7F6DF3 #F37F6D #6DF37F
tetradic
#7F6DF3 #F36D9E #E1F36D #6DF3C2
square
#7F6DF3 #F36D9E #E1F36D #6DF3C2
split-complementary
#7F6DF3 #F3C26D #9EF36D
monochromatic
#2C11D4 #4D34EE #7F6DF3 #B1A6F8 #E2DEFC

Accessibility & contrast

On white

3.90
#7F6DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7F6DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6DF3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6DF3#FFFFFF#000000##000000
##7F6DF31.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1985F8
Deuteranopia (green-blind)
#107DF0
Tritanopia (blue-blind)
#578BA6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7f6df3;
/* rgb */ color: rgb(127, 109, 243);
/* oklch */ color: oklch(62.0% 0.193 285.4);
Tailwind
colors: {
  custom: {
    50: '#ab97f8',
    500: '#7f6df3',
    950: '#000000',
  },
}
SCSS
$custom: #7f6df3;
$custom-light: #ab97f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6df3",
  "rgb": {
    "r": 127,
    "g": 109,
    "b": 243
  },
  "hsl": {
    "h": 248.06,
    "s": 84.81,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61953,
    "c": 0.19333,
    "h": 285.4
  },
  "luminance": 0.2192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F6DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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