#7F6EFB#7F6EFB

#7F6EFB is a light, highly saturated blue. Relative luminance 0.226; OKLCH L 62.7% C 0.202 H 284.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7F6EFB
RGBrgb(127, 110, 251)
HSLhsl(247, 95%, 71%)
HSVhsv(247, 56%, 98%)
CMYKcmyk(49.4%, 56.2%, 0%, 1.6%)
CIE-LABlab(54.69, 42.19, -68.53)
CIE-LCHlch(54.69, 80.47, 301.62°)
OKLaboklab(62.67% 0.0503 -0.1959)
OKLCHoklch(62.67% 0.202 284.4)
XYZxyz(31.7357, 22.6273, 93.9434)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6EFB #EAFB6E
analogous
#6EA3FB #7F6EFB #C56EFB
triadic
#7F6EFB #FB7F6E #6EFB7F
tetradic
#7F6EFB #FB6EA3 #EAFB6E #6EFBC5
square
#7F6EFB #FB6EA3 #EAFB6E #6EFBC5
split-complementary
#7F6EFB #FBC56E #A3FB6E
monochromatic
#2206E8 #4A32F9 #7F6EFB #B4AAFD #E5E1FE

Accessibility & contrast

On white

3.80
#7F6EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#7F6EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6EFB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6EFB#FFFFFF#000000##000000
##7F6EFB1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007EF8
Tritanopia (blue-blind)
#518EAA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7f6efb;
/* rgb */ color: rgb(127, 110, 251);
/* oklch */ color: oklch(62.7% 0.202 284.4);
Tailwind
colors: {
  custom: {
    50: '#ac98fd',
    500: '#7f6efb',
    950: '#000000',
  },
}
SCSS
$custom: #7f6efb;
$custom-light: #ac98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6efb",
  "rgb": {
    "r": 127,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 247.234,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6267,
    "c": 0.20227,
    "h": 284.4
  },
  "luminance": 0.22629
}

Semantic roles & 50–950 ramp

primary
#7F6EFB
secondary
#F1F5CF
accent
#E600CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7F6EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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