#765CCD#765CCD

#765CCD is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.7% C 0.168 H 290.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#765CCD
RGBrgb(118, 92, 205)
HSLhsl(254, 53%, 58%)
HSVhsv(254, 55%, 80%)
CMYKcmyk(42.4%, 55.1%, 0%, 19.6%)
CIE-LABlab(46.86, 37.50, -55.26)
CIE-LCHlch(46.86, 66.79, 304.16°)
OKLaboklab(55.74% 0.0588 -0.1572)
OKLCHoklch(55.74% 0.168 290.5)
XYZxyz(22.3148, 15.9129, 59.6415)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CCD #B3CD5C
analogous
#5C7ACD #765CCD #AE5CCD
triadic
#765CCD #CD765C #5CCD76
tetradic
#765CCD #CD5C7A #B3CD5C #5CCDAE
square
#765CCD #CD5C7A #B3CD5C #5CCDAE
split-complementary
#765CCD #CDAE5C #7ACD5C
monochromatic
#3E2986 #5437B4 #765CCD #9D8BDB #C5BAEA

Accessibility & contrast

On white

5.02
#765CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#765CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CCD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CCD#FFFFFF#000000##FFFFFF
##765CCD1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2171D1
Deuteranopia (green-blind)
#266DCB
Tritanopia (blue-blind)
#5D748C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #765ccd;
/* rgb */ color: rgb(118, 92, 205);
/* oklch */ color: oklch(55.7% 0.168 290.5);
Tailwind
colors: {
  custom: {
    50: '#a38bdd',
    500: '#765ccd',
    950: '#000000',
  },
}
SCSS
$custom: #765ccd;
$custom-light: #a38bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#765ccd",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 253.805,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.16786,
    "h": 290.5
  },
  "luminance": 0.15914
}

Semantic roles & 50–950 ramp

primary
#765CCD
secondary
#CFD9AC
accent
#DC4BBB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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