#765FDB#765FDB

#765FDB is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.2% C 0.182 H 287.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#765FDB
RGBrgb(118, 95, 219)
HSLhsl(251, 63%, 62%)
HSVhsv(251, 57%, 86%)
CMYKcmyk(46.1%, 56.6%, 0%, 14.1%)
CIE-LABlab(48.45, 39.75, -60.70)
CIE-LCHlch(48.45, 72.55, 303.22°)
OKLaboklab(57.21% 0.0555 -0.1732)
OKLCHoklch(57.21% 0.182 287.8)
XYZxyz(24.3459, 17.1494, 69.0315)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FDB #C4DB5F
analogous
#5F86DB #765FDB #B45FDB
triadic
#765FDB #DB765F #5FDB76
tetradic
#765FDB #DB5F86 #C4DB5F #5FDBB4
square
#765FDB #DB5F86 #C4DB5F #5FDBB4
split-complementary
#765FDB #DBB45F #86DB5F
monochromatic
#3A239C #4C2ECE #765FDB #A191E6 #CCC3F1

Accessibility & contrast

On white

4.74
#765FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#765FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FDB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FDB#FFFFFF#000000##FFFFFF
##765FDB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A76DF
Deuteranopia (green-blind)
#0C70D8
Tritanopia (blue-blind)
#567B94
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #765fdb;
/* rgb */ color: rgb(118, 95, 219);
/* oklch */ color: oklch(57.2% 0.182 287.8);
Tailwind
colors: {
  custom: {
    50: '#a48de7',
    500: '#765fdb',
    950: '#000000',
  },
}
SCSS
$custom: #765fdb;
$custom-light: #a48de7;
$custom-dark: #000000;
JSON
{
  "hex": "#765fdb",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 251.129,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57206,
    "c": 0.18187,
    "h": 287.8
  },
  "luminance": 0.1715
}

Semantic roles & 50–950 ramp

primary
#765FDB
secondary
#D9E2B4
accent
#CB1AAA
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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