#7F6CED#7F6CED

#7F6CED is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.4% C 0.187 H 286.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7F6CED
RGBrgb(127, 108, 237)
HSLhsl(249, 78%, 68%)
HSVhsv(249, 54%, 93%)
CMYKcmyk(46.4%, 54.4%, 0%, 7.1%)
CIE-LABlab(53.33, 39.30, -62.93)
CIE-LCHlch(53.33, 74.19, 301.98°)
OKLaboklab(61.38% 0.0523 -0.1794)
OKLCHoklch(61.38% 0.187 286.3)
XYZxyz(29.3966, 21.3503, 82.6764)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6CED #DAED6C
analogous
#6C9AED #7F6CED #BF6CED
triadic
#7F6CED #ED7F6C #6CED7F
tetradic
#7F6CED #ED6C9A #DAED6C #6CEDBF
square
#7F6CED #ED6C9A #DAED6C #6CEDBF
split-complementary
#7F6CED #EDBF6C #9AED6C
monochromatic
#3218C6 #5035E6 #7F6CED #AEA3F4 #DED9FA

Accessibility & contrast

On white

3.98
#7F6CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7F6CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6CED
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6CED#FFFFFF#000000##000000
##7F6CED1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2383F1
Deuteranopia (green-blind)
#1F7CEA
Tritanopia (blue-blind)
#5B88A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7f6ced;
/* rgb */ color: rgb(127, 108, 237);
/* oklch */ color: oklch(61.4% 0.187 286.3);
Tailwind
colors: {
  custom: {
    50: '#ab96f4',
    500: '#7f6ced',
    950: '#000000',
  },
}
SCSS
$custom: #7f6ced;
$custom-light: #ab96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6ced",
  "rgb": {
    "r": 127,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 248.837,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61378,
    "c": 0.18691,
    "h": 286.3
  },
  "luminance": 0.21352
}

Semantic roles & 50–950 ramp

primary
#7F6CED
secondary
#E9EEC6
accent
#DA0BBC
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6CED

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

Preview Lab → · Contrast checker → · Palette generator →

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