#767AF6#767AF6

#767AF6 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.8% C 0.181 H 278.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#767AF6
RGBrgb(118, 122, 246)
HSLhsl(238, 88%, 71%)
HSVhsv(238, 52%, 96%)
CMYKcmyk(52%, 50.4%, 0%, 3.5%)
CIE-LABlab(56.51, 31.86, -62.86)
CIE-LCHlch(56.51, 70.47, 296.88°)
OKLaboklab(63.76% 0.0269 -0.1794)
OKLCHoklch(63.76% 0.181 278.5)
XYZxyz(31.0601, 24.4225, 90.2483)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767AF6 #F6F276
analogous
#76BAF6 #767AF6 #B276F6
triadic
#767AF6 #F6767A #7AF676
tetradic
#767AF6 #F676BA #F6F276 #76F6B2
square
#767AF6 #F676BA #F6F276 #76F6B2
split-complementary
#767AF6 #F6B276 #BAF676
monochromatic
#0F16E3 #3D42F2 #767AF6 #AFB2FA #E2E3FD

Accessibility & contrast

On white

3.57
#767AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#767AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767AF6
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767AF6#FFFFFF#000000##000000
##767AF61.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8DFA
Deuteranopia (green-blind)
#2B83F3
Tritanopia (blue-blind)
#3E96AD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #767af6;
/* rgb */ color: rgb(118, 122, 246);
/* oklch */ color: oklch(63.8% 0.181 278.5);
Tailwind
colors: {
  custom: {
    50: '#a6a0fa',
    500: '#767af6',
    950: '#000000',
  },
}
SCSS
$custom: #767af6;
$custom-light: #a6a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#767af6",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 246
  },
  "hsl": {
    "h": 238.125,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63759,
    "c": 0.1814,
    "h": 278.5
  },
  "luminance": 0.24424
}

Semantic roles & 50–950 ramp

primary
#767AF6
secondary
#F5F3D3
accent
#DD01E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #767AF6

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

Preview Lab → · Contrast checker → · Palette generator →

#767AF6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva