#765BEF#765BEF

#765BEF is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.0% C 0.212 H 286.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#765BEF
RGBrgb(118, 91, 239)
HSLhsl(251, 82%, 65%)
HSVhsv(251, 62%, 94%)
CMYKcmyk(50.6%, 61.9%, 0%, 6.3%)
CIE-LABlab(48.96, 47.81, -71.15)
CIE-LCHlch(48.96, 85.72, 303.90°)
OKLaboklab(58.02% 0.0589 -0.2039)
OKLCHoklch(58.02% 0.212 286.1)
XYZxyz(26.7877, 17.5644, 83.6234)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BEF #D4EF5B
analogous
#5B8AEF #765BEF #C05BEF
triadic
#765BEF #EF765B #5BEF76
tetradic
#765BEF #EF5B8A #D4EF5B #5BEFC0
square
#765BEF #EF5B8A #D4EF5B #5BEFC0
split-complementary
#765BEF #EFC05B #8AEF5B
monochromatic
#3212BD #4723EA #765BEF #A593F4 #D3CBFA

Accessibility & contrast

On white

4.65
#765BEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#765BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #765BEF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BEF#FFFFFF#000000##FFFFFF
##765BEF1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#487F9D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #765bef;
/* rgb */ color: rgb(118, 91, 239);
/* oklch */ color: oklch(58.0% 0.212 286.1);
Tailwind
colors: {
  custom: {
    50: '#a78bf5',
    500: '#765bef',
    950: '#000000',
  },
}
SCSS
$custom: #765bef;
$custom-light: #a78bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#765bef",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 250.946,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58023,
    "c": 0.21228,
    "h": 286.1
  },
  "luminance": 0.17566
}

Semantic roles & 50–950 ramp

primary
#765BEF
secondary
#E3ECBA
accent
#DF07B7
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #765BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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