#7F6EF2#7F6EF2

#7F6EF2 is a light, vivid blue. Relative luminance 0.221; OKLCH L 62.1% C 0.191 H 285.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7F6EF2
RGBrgb(127, 110, 242)
HSLhsl(248, 84%, 69%)
HSVhsv(248, 55%, 95%)
CMYKcmyk(47.5%, 54.5%, 0%, 5.1%)
CIE-LABlab(54.10, 39.58, -64.47)
CIE-LCHlch(54.10, 75.65, 301.55°)
OKLaboklab(62.05% 0.0502 -0.184)
OKLCHoklch(62.05% 0.191 285.3)
XYZxyz(30.3506, 22.0733, 86.6485)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6EF2 #E1F26E
analogous
#6E9FF2 #7F6EF2 #C16EF2
triadic
#7F6EF2 #F27F6E #6EF27F
tetradic
#7F6EF2 #F26E9F #E1F26E #6EF2C1
square
#7F6EF2 #F26E9F #E1F26E #6EF2C1
split-complementary
#7F6EF2 #F2C16E #9FF26E
monochromatic
#2C13D3 #4D36ED #7F6EF2 #B1A6F7 #E2DEFC

Accessibility & contrast

On white

3.88
#7F6EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7F6EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6EF2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6EF2#FFFFFF#000000##000000
##7F6EF21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2085F6
Deuteranopia (green-blind)
#197DEF
Tritanopia (blue-blind)
#578BA5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7f6ef2;
/* rgb */ color: rgb(127, 110, 242);
/* oklch */ color: oklch(62.1% 0.191 285.3);
Tailwind
colors: {
  custom: {
    50: '#ab98f7',
    500: '#7f6ef2',
    950: '#000000',
  },
}
SCSS
$custom: #7f6ef2;
$custom-light: #ab98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6ef2",
  "rgb": {
    "r": 127,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 247.727,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.62054,
    "c": 0.1907,
    "h": 285.3
  },
  "luminance": 0.22075
}

Semantic roles & 50–950 ramp

primary
#7F6EF2
secondary
#ECF1CB
accent
#E006C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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