#768FF7#768FF7

#768FF7 is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.8% C 0.156 H 271.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#768FF7
RGBrgb(118, 143, 247)
HSLhsl(228, 89%, 72%)
HSVhsv(228, 52%, 97%)
CMYKcmyk(52.2%, 42.1%, 0%, 3.1%)
CIE-LABlab(61.83, 19.71, -54.89)
CIE-LCHlch(61.83, 58.32, 289.75°)
OKLaboklab(67.82% 0.0041 -0.1558)
OKLCHoklch(67.82% 0.156 271.5)
XYZxyz(34.0767, 30.2096, 92.0130)
Luminance0.3021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FF7 #F7DE76
analogous
#76D0F7 #768FF7 #9E76F7
triadic
#768FF7 #F7768F #8FF776
tetradic
#768FF7 #F776D0 #F7DE76 #76F79E
square
#768FF7 #F776D0 #F7DE76 #76F79E
split-complementary
#768FF7 #F79E76 #D0F776
monochromatic
#0D37E5 #3C60F4 #768FF7 #B0BEFA #E2E7FD

Accessibility & contrast

On white

2.98
#768FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#768FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #768FF7
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FF7#FFFFFF#000000##000000
##768FF71.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#649BFB
Deuteranopia (green-blind)
#5590F5
Tritanopia (blue-blind)
#38A5B7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #768ff7;
/* rgb */ color: rgb(118, 143, 247);
/* oklch */ color: oklch(67.8% 0.156 271.5);
Tailwind
colors: {
  custom: {
    50: '#a5affa',
    500: '#768ff7',
    950: '#000000',
  },
}
SCSS
$custom: #768ff7;
$custom-light: #a5affa;
$custom-dark: #000000;
JSON
{
  "hex": "#768ff7",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 228.372,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6782,
    "c": 0.15588,
    "h": 271.5
  },
  "luminance": 0.30212
}

Semantic roles & 50–950 ramp

primary
#768FF7
secondary
#F5EFD4
accent
#B900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768FF7

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

Preview Lab → · Contrast checker → · Palette generator →

#768FF7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva