#765EDB#765EDB

#765EDB is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.0% C 0.183 H 288.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#765EDB
RGBrgb(118, 94, 219)
HSLhsl(252, 63%, 61%)
HSVhsv(252, 57%, 86%)
CMYKcmyk(46.1%, 57.1%, 0%, 14.1%)
CIE-LABlab(48.22, 40.33, -61.06)
CIE-LCHlch(48.22, 73.18, 303.44°)
OKLaboklab(57.04% 0.0566 -0.1743)
OKLCHoklch(57.04% 0.183 288)
XYZxyz(24.2564, 16.9704, 69.0016)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EDB #C3DB5E
analogous
#5E85DB #765EDB #B55EDB
triadic
#765EDB #DB765E #5EDB76
tetradic
#765EDB #DB5E85 #C3DB5E #5EDBB5
square
#765EDB #DB5E85 #C3DB5E #5EDBB5
split-complementary
#765EDB #DBB55E #85DB5E
monochromatic
#3A239C #4D2ECE #765EDB #A190E6 #CBC2F1

Accessibility & contrast

On white

4.78
#765EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#765EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EDB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EDB#FFFFFF#000000##FFFFFF
##765EDB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0175DF
Deuteranopia (green-blind)
#056FD8
Tritanopia (blue-blind)
#567A93
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #765edb;
/* rgb */ color: rgb(118, 94, 219);
/* oklch */ color: oklch(57.0% 0.183 288.0);
Tailwind
colors: {
  custom: {
    50: '#a48ce7',
    500: '#765edb',
    950: '#000000',
  },
}
SCSS
$custom: #765edb;
$custom-light: #a48ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#765edb",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 219
  },
  "hsl": {
    "h": 251.52,
    "s": 63.452,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5704,
    "c": 0.18323,
    "h": 288
  },
  "luminance": 0.16971
}

Semantic roles & 50–950 ramp

primary
#765EDB
secondary
#D9E2B3
accent
#CB1AA9
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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