#7F6BED#7F6BED

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

Color values

HEX#7F6BED
RGBrgb(127, 107, 237)
HSLhsl(249, 78%, 67%)
HSVhsv(249, 55%, 93%)
CMYKcmyk(46.4%, 54.9%, 0%, 7.1%)
CIE-LABlab(53.10, 39.87, -63.29)
CIE-LCHlch(53.10, 74.81, 302.21°)
OKLaboklab(61.21% 0.0534 -0.1805)
OKLCHoklch(61.21% 0.188 286.5)
XYZxyz(29.2917, 21.1406, 82.6415)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6BED #D9ED6B
analogous
#6B98ED #7F6BED #C06BED
triadic
#7F6BED #ED7F6B #6BED7F
tetradic
#7F6BED #ED6B98 #D9ED6B #6BEDC0
square
#7F6BED #ED6B98 #D9ED6B #6BEDC0
split-complementary
#7F6BED #EDC06B #98ED6B
monochromatic
#3318C6 #5034E6 #7F6BED #AEA2F4 #DDD8FA

Accessibility & contrast

On white

4.02
#7F6BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7F6BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6BED
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6BED#FFFFFF#000000##000000
##7F6BED1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F82F1
Deuteranopia (green-blind)
#1C7BEA
Tritanopia (blue-blind)
#5B88A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7f6bed;
/* rgb */ color: rgb(127, 107, 237);
/* oklch */ color: oklch(61.2% 0.188 286.5);
Tailwind
colors: {
  custom: {
    50: '#ab96f4',
    500: '#7f6bed',
    950: '#000000',
  },
}
SCSS
$custom: #7f6bed;
$custom-light: #ab96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6bed",
  "rgb": {
    "r": 127,
    "g": 107,
    "b": 237
  },
  "hsl": {
    "h": 249.231,
    "s": 78.313,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61209,
    "c": 0.18827,
    "h": 286.5
  },
  "luminance": 0.21142
}

Semantic roles & 50–950 ramp

primary
#7F6BED
secondary
#E8EEC6
accent
#DB0BBB
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6BED

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

Preview Lab → · Contrast checker → · Palette generator →

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