#765DEF#765DEF

#765DEF is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.3% C 0.210 H 285.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#765DEF
RGBrgb(118, 93, 239)
HSLhsl(250, 82%, 65%)
HSVhsv(250, 61%, 94%)
CMYKcmyk(50.6%, 61.1%, 0%, 6.3%)
CIE-LABlab(49.39, 46.68, -70.46)
CIE-LCHlch(49.39, 84.52, 303.53°)
OKLaboklab(58.33% 0.0569 -0.2019)
OKLCHoklch(58.33% 0.21 285.7)
XYZxyz(26.9609, 17.9109, 83.6811)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DEF #D6EF5D
analogous
#5D8DEF #765DEF #BF5DEF
triadic
#765DEF #EF765D #5DEF76
tetradic
#765DEF #EF5D8D #D6EF5D #5DEFBF
square
#765DEF #EF5D8D #D6EF5D #5DEFBF
split-complementary
#765DEF #EFBF5D #8DEF5D
monochromatic
#3013BF #4725E9 #765DEF #A595F5 #D4CCFA

Accessibility & contrast

On white

4.58
#765DEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#765DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #765DEF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DEF#FFFFFF#000000##000000
##765DEF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#48809D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #765def;
/* rgb */ color: rgb(118, 93, 239);
/* oklch */ color: oklch(58.3% 0.210 285.7);
Tailwind
colors: {
  custom: {
    50: '#a78cf5',
    500: '#765def',
    950: '#000000',
  },
}
SCSS
$custom: #765def;
$custom-light: #a78cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#765def",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 250.274,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58333,
    "c": 0.20979,
    "h": 285.7
  },
  "luminance": 0.17912
}

Semantic roles & 50–950 ramp

primary
#765DEF
secondary
#E4EDBB
accent
#DE07BA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #765DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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