#767AF7#767AF7

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

Color values

HEX#767AF7
RGBrgb(118, 122, 247)
HSLhsl(238, 89%, 72%)
HSVhsv(238, 52%, 97%)
CMYKcmyk(52.2%, 50.6%, 0%, 3.1%)
CIE-LABlab(56.57, 32.17, -63.31)
CIE-LCHlch(56.57, 71.01, 296.93°)
OKLaboklab(63.82% 0.027 -0.1807)
OKLCHoklch(63.82% 0.183 278.5)
XYZxyz(31.2140, 24.4841, 91.0588)
Luminance0.2449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767AF7 #F7F376
analogous
#76BAF7 #767AF7 #B376F7
triadic
#767AF7 #F7767A #7AF776
tetradic
#767AF7 #F776BA #F7F376 #76F7B3
square
#767AF7 #F776BA #F7F376 #76F7B3
split-complementary
#767AF7 #F7B376 #BAF776
monochromatic
#0D14E5 #3C42F4 #767AF7 #B0B2FA #E2E3FD

Accessibility & contrast

On white

3.56
#767AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#767AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767AF7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767AF7#FFFFFF#000000##000000
##767AF71.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8DFB
Deuteranopia (green-blind)
#2983F4
Tritanopia (blue-blind)
#3D96AD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #767af7;
/* rgb */ color: rgb(118, 122, 247);
/* oklch */ color: oklch(63.8% 0.183 278.5);
Tailwind
colors: {
  custom: {
    50: '#a6a0fa',
    500: '#767af7',
    950: '#000000',
  },
}
SCSS
$custom: #767af7;
$custom-light: #a6a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#767af7",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 238.14,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.63824,
    "c": 0.18273,
    "h": 278.5
  },
  "luminance": 0.24486
}

Semantic roles & 50–950 ramp

primary
#767AF7
secondary
#F5F4D4
accent
#DE00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #767AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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