#765BD1#765BD1

#765BD1 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.8% C 0.174 H 290.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#765BD1
RGBrgb(118, 91, 209)
HSLhsl(254, 56%, 59%)
HSVhsv(254, 56%, 82%)
CMYKcmyk(43.5%, 56.5%, 0%, 18%)
CIE-LABlab(46.89, 39.22, -57.51)
CIE-LCHlch(46.89, 69.60, 304.29°)
OKLaboklab(55.85% 0.06 -0.1638)
OKLCHoklch(55.85% 0.174 290.1)
XYZxyz(22.7177, 15.9364, 62.1883)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BD1 #B6D15B
analogous
#5B7BD1 #765BD1 #B15BD1
triadic
#765BD1 #D1765B #5BD176
tetradic
#765BD1 #D15B7B #B6D15B #5BD1B1
square
#765BD1 #D15B7B #B6D15B #5BD1B1
split-complementary
#765BD1 #D1B15B #7BD15B
monochromatic
#3E278B #5334BA #765BD1 #9E8BDE #C6BBEC

Accessibility & contrast

On white

5.02
#765BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#765BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BD1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BD1#FFFFFF#000000##FFFFFF
##765BD11.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1471D5
Deuteranopia (green-blind)
#1B6CCE
Tritanopia (blue-blind)
#5B758D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #765bd1;
/* rgb */ color: rgb(118, 91, 209);
/* oklch */ color: oklch(55.8% 0.174 290.1);
Tailwind
colors: {
  custom: {
    50: '#a38ae0',
    500: '#765bd1',
    950: '#000000',
  },
}
SCSS
$custom: #765bd1;
$custom-light: #a38ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#765bd1",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 209
  },
  "hsl": {
    "h": 253.729,
    "s": 56.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55848,
    "c": 0.17447,
    "h": 290.1
  },
  "luminance": 0.15937
}

Semantic roles & 50–950 ramp

primary
#765BD1
secondary
#D1DBAD
accent
#DF48BD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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