#765CCE#765CCE

#765CCE is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.8% C 0.169 H 290.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#765CCE
RGBrgb(118, 92, 206)
HSLhsl(254, 54%, 58%)
HSVhsv(254, 55%, 81%)
CMYKcmyk(42.7%, 55.3%, 0%, 19.2%)
CIE-LABlab(46.92, 37.79, -55.73)
CIE-LCHlch(46.92, 67.33, 304.14°)
OKLaboklab(55.81% 0.0588 -0.1586)
OKLCHoklch(55.81% 0.169 290.3)
XYZxyz(22.4358, 15.9613, 60.2793)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CCE #B4CE5C
analogous
#5C7BCE #765CCE #AF5CCE
triadic
#765CCE #CE765C #5CCE76
tetradic
#765CCE #CE5C7B #B4CE5C #5CCEAF
square
#765CCE #CE5C7B #B4CE5C #5CCEAF
split-complementary
#765CCE #CEAF5C #7BCE5C
monochromatic
#3E2987 #5437B6 #765CCE #9E8BDC #C5BAEA

Accessibility & contrast

On white

5.01
#765CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#765CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CCE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CCE#FFFFFF#000000##FFFFFF
##765CCE1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F71D2
Deuteranopia (green-blind)
#246DCB
Tritanopia (blue-blind)
#5D758C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #765cce;
/* rgb */ color: rgb(118, 92, 206);
/* oklch */ color: oklch(55.8% 0.169 290.3);
Tailwind
colors: {
  custom: {
    50: '#a38bde',
    500: '#765cce',
    950: '#000000',
  },
}
SCSS
$custom: #765cce;
$custom-light: #a38bde;
$custom-dark: #000000;
JSON
{
  "hex": "#765cce",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 253.684,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5581,
    "c": 0.16916,
    "h": 290.3
  },
  "luminance": 0.15962
}

Semantic roles & 50–950 ramp

primary
#765CCE
secondary
#CFDAAC
accent
#DD4BBC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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