#765BD6#765BD6

#765BD6 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.2% C 0.181 H 289.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#765BD6
RGBrgb(118, 91, 214)
HSLhsl(253, 60%, 60%)
HSVhsv(253, 57%, 84%)
CMYKcmyk(44.9%, 57.5%, 0%, 16.1%)
CIE-LABlab(47.22, 40.63, -59.83)
CIE-LCHlch(47.22, 72.33, 304.18°)
OKLaboklab(56.19% 0.06 -0.1707)
OKLCHoklch(56.19% 0.181 289.4)
XYZxyz(23.3465, 16.1879, 65.4998)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BD6 #BBD65B
analogous
#5B7DD6 #765BD6 #B45BD6
triadic
#765BD6 #D6765B #5BD676
tetradic
#765BD6 #D65B7D #BBD65B #5BD6B4
square
#765BD6 #D65B7D #BBD65B #5BD6B4
split-complementary
#765BD6 #D6B45B #7DD65B
monochromatic
#3D2592 #5131C3 #765BD6 #9F8CE2 #C8BDEE

Accessibility & contrast

On white

4.96
#765BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#765BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BD6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BD6#FFFFFF#000000##FFFFFF
##765BD61.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#0B6DD3
Tritanopia (blue-blind)
#597690
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #765bd6;
/* rgb */ color: rgb(118, 91, 214);
/* oklch */ color: oklch(56.2% 0.181 289.4);
Tailwind
colors: {
  custom: {
    50: '#a48ae3',
    500: '#765bd6',
    950: '#000000',
  },
}
SCSS
$custom: #765bd6;
$custom-light: #a48ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#765bd6",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 214
  },
  "hsl": {
    "h": 253.171,
    "s": 60,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56195,
    "c": 0.18091,
    "h": 289.4
  },
  "luminance": 0.16189
}

Semantic roles & 50–950 ramp

primary
#765BD6
secondary
#D4DEAF
accent
#E345C0
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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