#766DFA#766DFA

#766DFA is a mid, highly saturated blue. Relative luminance 0.217; OKLCH L 61.7% C 0.203 H 281.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#766DFA
RGBrgb(118, 109, 250)
HSLhsl(244, 93%, 70%)
HSVhsv(244, 56%, 98%)
CMYKcmyk(52.8%, 56.4%, 0%, 2%)
CIE-LABlab(53.70, 40.74, -69.61)
CIE-LCHlch(53.70, 80.65, 300.34°)
OKLaboklab(61.74% 0.0406 -0.1993)
OKLCHoklch(61.74% 0.203 281.5)
XYZxyz(30.1899, 21.6892, 93.0196)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766DFA #F1FA6D
analogous
#6DAAFA #766DFA #BD6DFA
triadic
#766DFA #FA766D #6DFA76
tetradic
#766DFA #FA6DAA #F1FA6D #6DFABD
square
#766DFA #FA6DAA #F1FA6D #6DFABD
split-complementary
#766DFA #FABD6D #AAFA6D
monochromatic
#1608E5 #3E32F8 #766DFA #AEA8FC #E3E1FE

Accessibility & contrast

On white

3.93
#766DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#766DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766DFA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766DFA#FFFFFF#000000##000000
##766DFA1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007BF7
Tritanopia (blue-blind)
#3C8EA9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #766dfa;
/* rgb */ color: rgb(118, 109, 250);
/* oklch */ color: oklch(61.7% 0.203 281.5);
Tailwind
colors: {
  custom: {
    50: '#a797fd',
    500: '#766dfa',
    950: '#000000',
  },
}
SCSS
$custom: #766dfa;
$custom-light: #a797fd;
$custom-dark: #000000;
JSON
{
  "hex": "#766dfa",
  "rgb": {
    "r": 118,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 243.83,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.61742,
    "c": 0.20344,
    "h": 281.5
  },
  "luminance": 0.21691
}

Semantic roles & 50–950 ramp

primary
#766DFA
secondary
#F2F5CE
accent
#E600D7
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #766DFA

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

Preview Lab → · Contrast checker → · Palette generator →

#766DFA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva