#7F6DF2#7F6DF2

#7F6DF2 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.9% C 0.192 H 285.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7F6DF2
RGBrgb(127, 109, 242)
HSLhsl(248, 84%, 69%)
HSVhsv(248, 55%, 95%)
CMYKcmyk(47.5%, 55%, 0%, 5.1%)
CIE-LABlab(53.88, 40.16, -64.83)
CIE-LCHlch(53.88, 76.26, 301.77°)
OKLaboklab(61.89% 0.0513 -0.185)
OKLCHoklch(61.89% 0.192 285.5)
XYZxyz(30.2433, 21.8587, 86.6128)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6DF2 #E0F26D
analogous
#6D9EF2 #7F6DF2 #C26DF2
triadic
#7F6DF2 #F27F6D #6DF27F
tetradic
#7F6DF2 #F26D9E #E0F26D #6DF2C2
square
#7F6DF2 #F26D9E #E0F26D #6DF2C2
split-complementary
#7F6DF2 #F2C26D #9EF26D
monochromatic
#2D13D2 #4E35ED #7F6DF2 #B0A5F7 #E2DDFC

Accessibility & contrast

On white

3.91
#7F6DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7F6DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6DF2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6DF2#FFFFFF#000000##000000
##7F6DF21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C84F7
Deuteranopia (green-blind)
#147DEF
Tritanopia (blue-blind)
#578BA5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7f6df2;
/* rgb */ color: rgb(127, 109, 242);
/* oklch */ color: oklch(61.9% 0.192 285.5);
Tailwind
colors: {
  custom: {
    50: '#ab97f7',
    500: '#7f6df2',
    950: '#000000',
  },
}
SCSS
$custom: #7f6df2;
$custom-light: #ab97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6df2",
  "rgb": {
    "r": 127,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 248.12,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61885,
    "c": 0.19203,
    "h": 285.5
  },
  "luminance": 0.2186
}

Semantic roles & 50–950 ramp

primary
#7F6DF2
secondary
#ECF1CA
accent
#E005C2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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