#766BF5#766BF5

#766BF5 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 61.0% C 0.200 H 282.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#766BF5
RGBrgb(118, 107, 245)
HSLhsl(245, 87%, 69%)
HSVhsv(245, 56%, 96%)
CMYKcmyk(51.8%, 56.3%, 0%, 3.9%)
CIE-LABlab(52.90, 40.40, -68.11)
CIE-LCHlch(52.90, 79.19, 300.68°)
OKLaboklab(61.05% 0.0426 -0.195)
OKLCHoklch(61.05% 0.2 282.3)
XYZxyz(29.2053, 20.9578, 88.8748)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BF5 #EAF56B
analogous
#6BA5F5 #766BF5 #BB6BF5
triadic
#766BF5 #F5766B #6BF576
tetradic
#766BF5 #F56BA5 #EAF56B #6BF5BB
square
#766BF5 #F56BA5 #EAF56B #6BF5BB
split-complementary
#766BF5 #F5BB6B #A5F56B
monochromatic
#1F0FD7 #4132F1 #766BF5 #ABA4F9 #E0DEFD

Accessibility & contrast

On white

4.04
#766BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#766BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766BF5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766BF5#FFFFFF#000000##000000
##766BF51.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#418BA6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #766bf5;
/* rgb */ color: rgb(118, 107, 245);
/* oklch */ color: oklch(61.0% 0.200 282.3);
Tailwind
colors: {
  custom: {
    50: '#a696f9',
    500: '#766bf5',
    950: '#000000',
  },
}
SCSS
$custom: #766bf5;
$custom-light: #a696f9;
$custom-dark: #000000;
JSON
{
  "hex": "#766bf5",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 244.783,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61049,
    "c": 0.19956,
    "h": 282.3
  },
  "luminance": 0.2096
}

Semantic roles & 50–950 ramp

primary
#766BF5
secondary
#EFF2CA
accent
#E402D2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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