#765DFB#765DFB

#765DFB is a mid, highly saturated blue. Relative luminance 0.186; OKLCH L 59.2% C 0.225 H 284.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#765DFB
RGBrgb(118, 93, 251)
HSLhsl(249, 95%, 67%)
HSVhsv(249, 63%, 98%)
CMYKcmyk(53%, 62.9%, 0%, 1.6%)
CIE-LABlab(50.27, 50.17, -75.73)
CIE-LCHlch(50.27, 90.84, 303.52°)
OKLaboklab(59.25% 0.056 -0.2174)
OKLCHoklch(59.25% 0.225 284.4)
XYZxyz(28.7929, 18.6437, 93.3295)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DFB #E2FB5D
analogous
#5D93FB #765DFB #C55DFB
triadic
#765DFB #FB765D #5DFB76
tetradic
#765DFB #FB5D93 #E2FB5D #5DFBC5
square
#765DFB #FB5D93 #E2FB5D #5DFBC5
split-complementary
#765DFB #FBC55D #93FB5D
monochromatic
#2705D8 #4321FA #765DFB #A999FC #DBD4FE

Accessibility & contrast

On white

4.44
#765DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#765DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #765DFB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DFB#FFFFFF#000000##000000
##765DFB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0073F8
Tritanopia (blue-blind)
#3D84A4
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #765dfb;
/* rgb */ color: rgb(118, 93, 251);
/* oklch */ color: oklch(59.2% 0.225 284.4);
Tailwind
colors: {
  custom: {
    50: '#a88cfe',
    500: '#765dfb',
    950: '#000000',
  },
}
SCSS
$custom: #765dfb;
$custom-light: #a88cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#765dfb",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 251
  },
  "hsl": {
    "h": 249.494,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.59249,
    "c": 0.2245,
    "h": 284.4
  },
  "luminance": 0.18645
}

Semantic roles & 50–950 ramp

primary
#765DFB
secondary
#EBF3C1
accent
#E600C1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #765DFB

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

Preview Lab → · Contrast checker → · Palette generator →

#765DFB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva