#765BCC#765BCC

#765BCC is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.5% C 0.168 H 290.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#765BCC
RGBrgb(118, 91, 204)
HSLhsl(254, 53%, 58%)
HSVhsv(254, 55%, 80%)
CMYKcmyk(42.2%, 55.4%, 0%, 20%)
CIE-LABlab(46.57, 37.81, -55.16)
CIE-LCHlch(46.57, 66.87, 304.43°)
OKLaboklab(55.51% 0.06 -0.1569)
OKLCHoklch(55.51% 0.168 290.9)
XYZxyz(22.1084, 15.6927, 58.9792)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BCC #B1CC5B
analogous
#5B79CC #765BCC #AE5BCC
triadic
#765BCC #CC765B #5BCC76
tetradic
#765BCC #CC5B79 #B1CC5B #5BCCAE
square
#765BCC #CC5B79 #B1CC5B #5BCCAE
split-complementary
#765BCC #CCAE5B #79CC5B
monochromatic
#3F2984 #5537B2 #765BCC #9D8ADB #C4B8E9

Accessibility & contrast

On white

5.07
#765BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#765BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BCC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BCC#FFFFFF#000000##FFFFFF
##765BCC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F70D0
Deuteranopia (green-blind)
#256CCA
Tritanopia (blue-blind)
#5E738B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #765bcc;
/* rgb */ color: rgb(118, 91, 204);
/* oklch */ color: oklch(55.5% 0.168 290.9);
Tailwind
colors: {
  custom: {
    50: '#a38adc',
    500: '#765bcc',
    950: '#000000',
  },
}
SCSS
$custom: #765bcc;
$custom-light: #a38adc;
$custom-dark: #000000;
JSON
{
  "hex": "#765bcc",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 254.336,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55507,
    "c": 0.16799,
    "h": 290.9
  },
  "luminance": 0.15693
}

Semantic roles & 50–950 ramp

primary
#765BCC
secondary
#CDD8AB
accent
#DC4CBA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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