#765BD2#765BD2

#765BD2 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.9% C 0.176 H 290.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#765BD2
RGBrgb(118, 91, 210)
HSLhsl(254, 57%, 59%)
HSVhsv(254, 57%, 82%)
CMYKcmyk(43.8%, 56.7%, 0%, 17.6%)
CIE-LABlab(46.96, 39.50, -57.97)
CIE-LCHlch(46.96, 70.15, 304.27°)
OKLaboklab(55.92% 0.06 -0.1652)
OKLCHoklch(55.92% 0.176 290)
XYZxyz(22.8419, 15.9861, 62.8424)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BD2 #B7D25B
analogous
#5B7CD2 #765BD2 #B15BD2
triadic
#765BD2 #D2765B #5BD276
tetradic
#765BD2 #D25B7C #B7D25B #5BD2B1
square
#765BD2 #D25B7C #B7D25B #5BD2B1
split-complementary
#765BD2 #D2B15B #7CD25B
monochromatic
#3E268C #5334BC #765BD2 #9E8BDF #C6BBEC

Accessibility & contrast

On white

5.00
#765BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#765BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BD2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BD2#FFFFFF#000000##FFFFFF
##765BD21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1172D6
Deuteranopia (green-blind)
#196DCF
Tritanopia (blue-blind)
#5B758E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #765bd2;
/* rgb */ color: rgb(118, 91, 210);
/* oklch */ color: oklch(55.9% 0.176 290.0);
Tailwind
colors: {
  custom: {
    50: '#a38ae0',
    500: '#765bd2',
    950: '#000000',
  },
}
SCSS
$custom: #765bd2;
$custom-light: #a38ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#765bd2",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 253.613,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55917,
    "c": 0.17577,
    "h": 290
  },
  "luminance": 0.15987
}

Semantic roles & 50–950 ramp

primary
#765BD2
secondary
#D1DCAD
accent
#E048BE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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