#766DF2#766DF2

#766DF2 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 61.2% C 0.193 H 282.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#766DF2
RGBrgb(118, 109, 242)
HSLhsl(244, 84%, 69%)
HSVhsv(244, 55%, 95%)
CMYKcmyk(51.2%, 55%, 0%, 5.1%)
CIE-LABlab(53.17, 38.33, -66.02)
CIE-LCHlch(53.17, 76.34, 300.14°)
OKLaboklab(61.18% 0.0405 -0.1888)
OKLCHoklch(61.18% 0.193 282.1)
XYZxyz(28.9620, 21.1980, 86.5527)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766DF2 #E9F26D
analogous
#6DA7F2 #766DF2 #B96DF2
triadic
#766DF2 #F2766D #6DF276
tetradic
#766DF2 #F26DA7 #E9F26D #6DF2B9
square
#766DF2 #F26DA7 #E9F26D #6DF2B9
split-complementary
#766DF2 #F2B96D #A7F26D
monochromatic
#2013D2 #4135ED #766DF2 #ABA5F7 #DFDDFC

Accessibility & contrast

On white

4.01
#766DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#766DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766DF2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766DF2#FFFFFF#000000##000000
##766DF21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1384F7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#448BA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #766df2;
/* rgb */ color: rgb(118, 109, 242);
/* oklch */ color: oklch(61.2% 0.193 282.1);
Tailwind
colors: {
  custom: {
    50: '#a697f7',
    500: '#766df2',
    950: '#000000',
  },
}
SCSS
$custom: #766df2;
$custom-light: #a697f7;
$custom-dark: #000000;
JSON
{
  "hex": "#766df2",
  "rgb": {
    "r": 118,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 244.06,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6118,
    "c": 0.19309,
    "h": 282.1
  },
  "luminance": 0.212
}

Semantic roles & 50–950 ramp

primary
#766DF2
secondary
#EEF1CA
accent
#E005D1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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