#766BF1#766BF1

#766BF1 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.8% C 0.194 H 282.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#766BF1
RGBrgb(118, 107, 241)
HSLhsl(245, 83%, 68%)
HSVhsv(245, 56%, 95%)
CMYKcmyk(51%, 55.6%, 0%, 5.5%)
CIE-LABlab(52.64, 39.21, -66.31)
CIE-LCHlch(52.64, 77.04, 300.59°)
OKLaboklab(60.77% 0.0426 -0.1897)
OKLCHoklch(60.77% 0.194 282.7)
XYZxyz(28.6013, 20.7162, 85.6936)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BF1 #E6F16B
analogous
#6BA3F1 #766BF1 #B96BF1
triadic
#766BF1 #F1766B #6BF176
tetradic
#766BF1 #F16BA3 #E6F16B #6BF1B9
square
#766BF1 #F16BA3 #E6F16B #6BF1B9
split-complementary
#766BF1 #F1B96B #A3F16B
monochromatic
#2313CE #4233EC #766BF1 #AAA3F6 #DEDBFC

Accessibility & contrast

On white

4.08
#766BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#766BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766BF1
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766BF1#FFFFFF#000000##000000
##766BF11.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0782F6
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#458AA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #766bf1;
/* rgb */ color: rgb(118, 107, 241);
/* oklch */ color: oklch(60.8% 0.194 282.7);
Tailwind
colors: {
  custom: {
    50: '#a695f6',
    500: '#766bf1',
    950: '#000000',
  },
}
SCSS
$custom: #766bf1;
$custom-light: #a695f6;
$custom-dark: #000000;
JSON
{
  "hex": "#766bf1",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 241
  },
  "hsl": {
    "h": 244.925,
    "s": 82.716,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60768,
    "c": 0.19439,
    "h": 282.7
  },
  "luminance": 0.20718
}

Semantic roles & 50–950 ramp

primary
#766BF1
secondary
#EDF0C8
accent
#DF06CD
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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