#765BCE#765BCE

#765BCE is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.6% C 0.171 H 290.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#765BCE
RGBrgb(118, 91, 206)
HSLhsl(254, 54%, 58%)
HSVhsv(254, 56%, 81%)
CMYKcmyk(42.7%, 55.8%, 0%, 19.2%)
CIE-LABlab(46.70, 38.37, -56.10)
CIE-LCHlch(46.70, 67.97, 304.37°)
OKLaboklab(55.64% 0.06 -0.1597)
OKLCHoklch(55.64% 0.171 290.6)
XYZxyz(22.3498, 15.7892, 60.2506)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BCE #B3CE5B
analogous
#5B79CE #765BCE #AF5BCE
triadic
#765BCE #CE765B #5BCE76
tetradic
#765BCE #CE5B79 #B3CE5B #5BCEAF
square
#765BCE #CE5B79 #B3CE5B #5BCEAF
split-complementary
#765BCE #CEAF5B #79CE5B
monochromatic
#3E2886 #5436B6 #765BCE #9D8ADC #C5B9EA

Accessibility & contrast

On white

5.05
#765BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#765BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BCE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BCE#FFFFFF#000000##FFFFFF
##765BCE1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B71D2
Deuteranopia (green-blind)
#226CCB
Tritanopia (blue-blind)
#5D748C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #765bce;
/* rgb */ color: rgb(118, 91, 206);
/* oklch */ color: oklch(55.6% 0.171 290.6);
Tailwind
colors: {
  custom: {
    50: '#a38ade',
    500: '#765bce',
    950: '#000000',
  },
}
SCSS
$custom: #765bce;
$custom-light: #a38ade;
$custom-dark: #000000;
JSON
{
  "hex": "#765bce",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 254.087,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55643,
    "c": 0.17059,
    "h": 290.6
  },
  "luminance": 0.1579
}

Semantic roles & 50–950 ramp

primary
#765BCE
secondary
#CFD9AB
accent
#DD4ABB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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