#768CF6#768CF6

#768CF6 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.2% C 0.158 H 272.6°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#768CF6
RGBrgb(118, 140, 246)
HSLhsl(230, 88%, 71%)
HSVhsv(230, 52%, 96%)
CMYKcmyk(52%, 43.1%, 0%, 3.5%)
CIE-LABlab(61.01, 21.17, -55.65)
CIE-LCHlch(61.01, 59.54, 290.83°)
OKLaboklab(67.17% 0.0073 -0.1581)
OKLCHoklch(67.17% 0.158 272.6)
XYZxyz(33.4785, 29.2593, 91.0544)
Luminance0.2926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CF6 #F6E076
analogous
#76CCF6 #768CF6 #A076F6
triadic
#768CF6 #F6768C #8CF676
tetradic
#768CF6 #F676CC #F6E076 #76F6A0
square
#768CF6 #F676CC #F6E076 #76F6A0
split-complementary
#768CF6 #F6A076 #CCF676
monochromatic
#0F33E3 #3D5CF2 #768CF6 #AFBCFA #E2E7FD

Accessibility & contrast

On white

3.06
#768CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#768CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CF6
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CF6#FFFFFF#000000##000000
##768CF61.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FA
Deuteranopia (green-blind)
#518EF4
Tritanopia (blue-blind)
#3AA3B5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768cf6;
/* rgb */ color: rgb(118, 140, 246);
/* oklch */ color: oklch(67.2% 0.158 272.6);
Tailwind
colors: {
  custom: {
    50: '#a5adfa',
    500: '#768cf6',
    950: '#000000',
  },
}
SCSS
$custom: #768cf6;
$custom-light: #a5adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#768cf6",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 246
  },
  "hsl": {
    "h": 229.688,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67172,
    "c": 0.15826,
    "h": 272.6
  },
  "luminance": 0.29262
}

Semantic roles & 50–950 ramp

primary
#768CF6
secondary
#F5EFD3
accent
#BD01E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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