#766AF2#766AF2

#766AF2 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.7% C 0.197 H 282.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#766AF2
RGBrgb(118, 106, 242)
HSLhsl(245, 84%, 68%)
HSVhsv(245, 56%, 95%)
CMYKcmyk(51.2%, 56.2%, 0%, 5.1%)
CIE-LABlab(52.47, 40.09, -67.14)
CIE-LCHlch(52.47, 78.19, 300.84°)
OKLaboklab(60.67% 0.0436 -0.1921)
OKLCHoklch(60.67% 0.197 282.8)
XYZxyz(28.6474, 20.5688, 86.4479)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766AF2 #E6F26A
analogous
#6AA2F2 #766AF2 #BA6AF2
triadic
#766AF2 #F2766A #6AF276
tetradic
#766AF2 #F26AA2 #E6F26A #6AF2BA
square
#766AF2 #F26AA2 #E6F26A #6AF2BA
split-complementary
#766AF2 #F2BA6A #A2F26A
monochromatic
#2312CF #4232ED #766AF2 #AAA2F7 #DEDBFC

Accessibility & contrast

On white

4.11
#766AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#766AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766AF2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766AF2#FFFFFF#000000##000000
##766AF21.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#4489A4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #766af2;
/* rgb */ color: rgb(118, 106, 242);
/* oklch */ color: oklch(60.7% 0.197 282.8);
Tailwind
colors: {
  custom: {
    50: '#a695f7',
    500: '#766af2',
    950: '#000000',
  },
}
SCSS
$custom: #766af2;
$custom-light: #a695f7;
$custom-dark: #000000;
JSON
{
  "hex": "#766af2",
  "rgb": {
    "r": 118,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 245.294,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60668,
    "c": 0.19698,
    "h": 282.8
  },
  "luminance": 0.2057
}

Semantic roles & 50–950 ramp

primary
#766AF2
secondary
#EDF1C7
accent
#E005CD
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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