#765AEF#765AEF

#765AEF is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.9% C 0.214 H 286.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#765AEF
RGBrgb(118, 90, 239)
HSLhsl(251, 82%, 65%)
HSVhsv(251, 62%, 94%)
CMYKcmyk(50.6%, 62.3%, 0%, 6.3%)
CIE-LABlab(48.75, 48.36, -71.49)
CIE-LCHlch(48.75, 86.31, 304.08°)
OKLaboklab(57.87% 0.0599 -0.205)
OKLCHoklch(57.87% 0.214 286.3)
XYZxyz(26.7027, 17.3945, 83.5951)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AEF #D3EF5A
analogous
#5A89EF #765AEF #C05AEF
triadic
#765AEF #EF765A #5AEF76
tetradic
#765AEF #EF5A89 #D3EF5A #5AEFC0
square
#765AEF #EF5A89 #D3EF5A #5AEFC0
split-complementary
#765AEF #EFC05A #89EF5A
monochromatic
#3212BC #4822EA #765AEF #A492F4 #D3CAFA

Accessibility & contrast

On white

4.69
#765AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#765AEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765AEF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AEF#FFFFFF#000000##FFFFFF
##765AEF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#006FEC
Tritanopia (blue-blind)
#487E9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #765aef;
/* rgb */ color: rgb(118, 90, 239);
/* oklch */ color: oklch(57.9% 0.214 286.3);
Tailwind
colors: {
  custom: {
    50: '#a78af5',
    500: '#765aef',
    950: '#000000',
  },
}
SCSS
$custom: #765aef;
$custom-light: #a78af5;
$custom-dark: #000000;
JSON
{
  "hex": "#765aef",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 251.275,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.5787,
    "c": 0.21352,
    "h": 286.3
  },
  "luminance": 0.17396
}

Semantic roles & 50–950 ramp

primary
#765AEF
secondary
#E2ECB9
accent
#DF07B6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #765AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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