#7F6CF1#7F6CF1

#7F6CF1 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.6% C 0.192 H 285.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7F6CF1
RGBrgb(127, 108, 241)
HSLhsl(249, 83%, 68%)
HSVhsv(249, 55%, 95%)
CMYKcmyk(47.3%, 55.2%, 0%, 5.5%)
CIE-LABlab(53.59, 40.45, -64.75)
CIE-LCHlch(53.59, 76.34, 301.99°)
OKLaboklab(61.65% 0.0524 -0.1848)
OKLCHoklch(61.65% 0.192 285.8)
XYZxyz(29.9875, 21.5867, 85.7886)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6CF1 #DEF16C
analogous
#6C9BF1 #7F6CF1 #C16CF1
triadic
#7F6CF1 #F17F6C #6CF17F
tetradic
#7F6CF1 #F16C9B #DEF16C #6CF1C1
square
#7F6CF1 #F16C9B #DEF16C #6CF1C1
split-complementary
#7F6CF1 #F1C16C #9BF16C
monochromatic
#2E14CF #4E34EC #7F6CF1 #B0A4F6 #E0DCFC

Accessibility & contrast

On white

3.95
#7F6CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7F6CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6CF1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6CF1#FFFFFF#000000##000000
##7F6CF11.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1984F5
Deuteranopia (green-blind)
#137CEE
Tritanopia (blue-blind)
#588AA4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f6cf1;
/* rgb */ color: rgb(127, 108, 241);
/* oklch */ color: oklch(61.6% 0.192 285.8);
Tailwind
colors: {
  custom: {
    50: '#ab96f6',
    500: '#7f6cf1',
    950: '#000000',
  },
}
SCSS
$custom: #7f6cf1;
$custom-light: #ab96f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6cf1",
  "rgb": {
    "r": 127,
    "g": 108,
    "b": 241
  },
  "hsl": {
    "h": 248.571,
    "s": 82.609,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61648,
    "c": 0.19208,
    "h": 285.8
  },
  "luminance": 0.21588
}

Semantic roles & 50–950 ramp

primary
#7F6CF1
secondary
#EBF0C8
accent
#DF06C0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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