#765CDB#765CDB

#765CDB is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.7% C 0.186 H 288.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#765CDB
RGBrgb(118, 92, 219)
HSLhsl(252, 64%, 61%)
HSVhsv(252, 58%, 86%)
CMYKcmyk(46.1%, 58%, 0%, 14.1%)
CIE-LABlab(47.78, 41.48, -61.78)
CIE-LCHlch(47.78, 74.42, 303.88°)
OKLaboklab(56.71% 0.0588 -0.1764)
OKLCHoklch(56.71% 0.186 288.4)
XYZxyz(24.0809, 16.6194, 68.9431)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CDB #C1DB5C
analogous
#5C81DB #765CDB #B55CDB
triadic
#765CDB #DB765C #5CDB76
tetradic
#765CDB #DB5C81 #C1DB5C #5CDBB5
square
#765CDB #DB5C81 #C1DB5C #5CDBB5
split-complementary
#765CDB #DBB55C #81DB5C
monochromatic
#3B229A #4E2DCD #765CDB #A08EE6 #CAC0F1

Accessibility & contrast

On white

4.86
#765CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#765CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CDB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CDB#FFFFFF#000000##FFFFFF
##765CDB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#567993
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #765cdb;
/* rgb */ color: rgb(118, 92, 219);
/* oklch */ color: oklch(56.7% 0.186 288.4);
Tailwind
colors: {
  custom: {
    50: '#a48be7',
    500: '#765cdb',
    950: '#000000',
  },
}
SCSS
$custom: #765cdb;
$custom-light: #a48be7;
$custom-dark: #000000;
JSON
{
  "hex": "#765cdb",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 252.283,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.18594,
    "h": 288.4
  },
  "luminance": 0.1662
}

Semantic roles & 50–950 ramp

primary
#765CDB
secondary
#D8E1B1
accent
#CC1AA7
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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