#765BCF#765BCF

#765BCF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.7% C 0.172 H 290.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#765BCF
RGBrgb(118, 91, 207)
HSLhsl(254, 55%, 58%)
HSVhsv(254, 56%, 81%)
CMYKcmyk(43%, 56%, 0%, 18.8%)
CIE-LABlab(46.76, 38.65, -56.57)
CIE-LCHlch(46.76, 68.51, 304.34°)
OKLaboklab(55.71% 0.06 -0.1611)
OKLCHoklch(55.71% 0.172 290.4)
XYZxyz(22.4717, 15.8380, 60.8924)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BCF #B4CF5B
analogous
#5B7ACF #765BCF #B05BCF
triadic
#765BCF #CF765B #5BCF76
tetradic
#765BCF #CF5B7A #B4CF5B #5BCFB0
square
#765BCF #CF5B7A #B4CF5B #5BCFB0
split-complementary
#765BCF #CFB05B #7ACF5B
monochromatic
#3E2888 #5436B7 #765BCF #9E8ADD #C5BAEB

Accessibility & contrast

On white

5.04
#765BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#765BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BCF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BCF#FFFFFF#000000##FFFFFF
##765BCF1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1971D3
Deuteranopia (green-blind)
#206CCC
Tritanopia (blue-blind)
#5C748C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #765bcf;
/* rgb */ color: rgb(118, 91, 207);
/* oklch */ color: oklch(55.7% 0.172 290.4);
Tailwind
colors: {
  custom: {
    50: '#a38ade',
    500: '#765bcf',
    950: '#000000',
  },
}
SCSS
$custom: #765bcf;
$custom-light: #a38ade;
$custom-dark: #000000;
JSON
{
  "hex": "#765bcf",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 253.966,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55711,
    "c": 0.17189,
    "h": 290.4
  },
  "luminance": 0.15839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #765BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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