#765BD8#765BD8

#765BD8 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.3% C 0.183 H 289.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#765BD8
RGBrgb(118, 91, 216)
HSLhsl(253, 62%, 60%)
HSVhsv(253, 58%, 85%)
CMYKcmyk(45.4%, 57.9%, 0%, 15.3%)
CIE-LABlab(47.35, 41.20, -60.76)
CIE-LCHlch(47.35, 73.41, 304.14°)
OKLaboklab(56.34% 0.06 -0.1734)
OKLCHoklch(56.34% 0.183 289.1)
XYZxyz(23.6034, 16.2907, 66.8532)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BD8 #BDD85B
analogous
#5B7ED8 #765BD8 #B45BD8
triadic
#765BD8 #D8765B #5BD876
tetradic
#765BD8 #D85B7E #BDD85B #5BD8B4
square
#765BD8 #D85B7E #BDD85B #5BD8B4
split-complementary
#765BD8 #D8B45B #7ED85B
monochromatic
#3C2395 #502FC7 #765BD8 #9F8CE4 #C9BEF0

Accessibility & contrast

On white

4.93
#765BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#765BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BD8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BD8#FFFFFF#000000##FFFFFF
##765BD81.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#006DD5
Tritanopia (blue-blind)
#587791
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #765bd8;
/* rgb */ color: rgb(118, 91, 216);
/* oklch */ color: oklch(56.3% 0.183 289.1);
Tailwind
colors: {
  custom: {
    50: '#a48ae5',
    500: '#765bd8',
    950: '#000000',
  },
}
SCSS
$custom: #765bd8;
$custom-light: #a48ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#765bd8",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 216
  },
  "hsl": {
    "h": 252.96,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56336,
    "c": 0.18347,
    "h": 289.1
  },
  "luminance": 0.16292
}

Semantic roles & 50–950 ramp

primary
#765BD8
secondary
#D5DFAF
accent
#C91CA4
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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