#7F6CEB#7F6CEB

#7F6CEB is a mid, vivid blue. Relative luminance 0.212; OKLCH L 61.2% C 0.184 H 286.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7F6CEB
RGBrgb(127, 108, 235)
HSLhsl(249, 76%, 67%)
HSVhsv(249, 54%, 92%)
CMYKcmyk(46%, 54%, 0%, 7.8%)
CIE-LABlab(53.20, 38.72, -62.01)
CIE-LCHlch(53.20, 73.11, 301.98°)
OKLaboklab(61.24% 0.0523 -0.1767)
OKLCHoklch(61.24% 0.184 286.5)
XYZxyz(29.1060, 21.2341, 81.1461)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6CEB #D8EB6C
analogous
#6C99EB #7F6CEB #BE6CEB
triadic
#7F6CEB #EB7F6C #6CEB7F
tetradic
#7F6CEB #EB6C99 #D8EB6C #6CEBBE
square
#7F6CEB #EB6C99 #D8EB6C #6CEBBE
split-complementary
#7F6CEB #EBBE6C #99EB6C
monochromatic
#341AC2 #5036E4 #7F6CEB #AEA2F2 #DDD8FA

Accessibility & contrast

On white

4.00
#7F6CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7F6CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6CEB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6CEB#FFFFFF#000000##000000
##7F6CEB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EF
Deuteranopia (green-blind)
#247BE8
Tritanopia (blue-blind)
#5C88A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7f6ceb;
/* rgb */ color: rgb(127, 108, 235);
/* oklch */ color: oklch(61.2% 0.184 286.5);
Tailwind
colors: {
  custom: {
    50: '#ab96f2',
    500: '#7f6ceb',
    950: '#000000',
  },
}
SCSS
$custom: #7f6ceb;
$custom-light: #ab96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6ceb",
  "rgb": {
    "r": 127,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 248.976,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61244,
    "c": 0.18431,
    "h": 286.5
  },
  "luminance": 0.21235
}

Semantic roles & 50–950 ramp

primary
#7F6CEB
secondary
#E7EDC5
accent
#D80DBA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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