#765DDB#765DDB

#765DDB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.9% C 0.185 H 288.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#765DDB
RGBrgb(118, 93, 219)
HSLhsl(252, 64%, 61%)
HSVhsv(252, 58%, 86%)
CMYKcmyk(46.1%, 57.5%, 0%, 14.1%)
CIE-LABlab(48.00, 40.91, -61.42)
CIE-LCHlch(48.00, 73.80, 303.66°)
OKLaboklab(56.88% 0.0577 -0.1753)
OKLCHoklch(56.88% 0.185 288.2)
XYZxyz(24.1681, 16.7938, 68.9722)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DDB #C2DB5D
analogous
#5D83DB #765DDB #B55DDB
triadic
#765DDB #DB765D #5DDB76
tetradic
#765DDB #DB5D83 #C2DB5D #5DDBB5
square
#765DDB #DB5D83 #C2DB5D #5DDBB5
split-complementary
#765DDB #DBB55D #83DB5D
monochromatic
#3A229B #4D2ECD #765DDB #A08FE6 #CBC1F1

Accessibility & contrast

On white

4.82
#765DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#765DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765DDB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DDB#FFFFFF#000000##FFFFFF
##765DDB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#006FD8
Tritanopia (blue-blind)
#567993
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #765ddb;
/* rgb */ color: rgb(118, 93, 219);
/* oklch */ color: oklch(56.9% 0.185 288.2);
Tailwind
colors: {
  custom: {
    50: '#a48ce7',
    500: '#765ddb',
    950: '#000000',
  },
}
SCSS
$custom: #765ddb;
$custom-light: #a48ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#765ddb",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 219
  },
  "hsl": {
    "h": 251.905,
    "s": 63.636,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56875,
    "c": 0.18458,
    "h": 288.2
  },
  "luminance": 0.16795
}

Semantic roles & 50–950 ramp

primary
#765DDB
secondary
#D8E2B2
accent
#CB1AA8
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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