#766AFA#766AFA

#766AFA is a mid, highly saturated blue. Relative luminance 0.211; OKLCH L 61.2% C 0.207 H 282.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#766AFA
RGBrgb(118, 106, 250)
HSLhsl(245, 94%, 70%)
HSVhsv(245, 58%, 98%)
CMYKcmyk(52.8%, 57.6%, 0%, 2%)
CIE-LABlab(53.02, 42.48, -70.71)
CIE-LCHlch(53.02, 82.49, 301.00°)
OKLaboklab(61.24% 0.0436 -0.2026)
OKLCHoklch(61.24% 0.207 282.1)
XYZxyz(29.8753, 21.0600, 92.9147)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766AFA #EEFA6A
analogous
#6AA6FA #766AFA #BE6AFA
triadic
#766AFA #FA766A #6AFA76
tetradic
#766AFA #FA6AA6 #EEFA6A #6AFABE
square
#766AFA #FA6AA6 #EEFA6A #6AFABE
split-complementary
#766AFA #FABE6A #A6FA6A
monochromatic
#1A08E2 #402FF8 #766AFA #ACA5FC #E3E0FE

Accessibility & contrast

On white

4.03
#766AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#766AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766AFA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766AFA#FFFFFF#000000##000000
##766AFA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#007AF7
Tritanopia (blue-blind)
#3C8CA8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #766afa;
/* rgb */ color: rgb(118, 106, 250);
/* oklch */ color: oklch(61.2% 0.207 282.1);
Tailwind
colors: {
  custom: {
    50: '#a795fd',
    500: '#766afa',
    950: '#000000',
  },
}
SCSS
$custom: #766afa;
$custom-light: #a795fd;
$custom-dark: #000000;
JSON
{
  "hex": "#766afa",
  "rgb": {
    "r": 118,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 245,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61239,
    "c": 0.20723,
    "h": 282.1
  },
  "luminance": 0.21062
}

Semantic roles & 50–950 ramp

primary
#766AFA
secondary
#F1F4CC
accent
#E600D2
background
#FAF9FF
surface
#F5F1FF
border
#CFCBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #766AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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