#765ACC#765ACC

#765ACC is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.3% C 0.169 H 291.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#765ACC
RGBrgb(118, 90, 204)
HSLhsl(255, 53%, 58%)
HSVhsv(255, 56%, 80%)
CMYKcmyk(42.2%, 55.9%, 0%, 20%)
CIE-LABlab(46.34, 38.39, -55.52)
CIE-LCHlch(46.34, 67.50, 304.66°)
OKLaboklab(55.34% 0.0612 -0.158)
OKLCHoklch(55.34% 0.169 291.2)
XYZxyz(22.0235, 15.5228, 58.9509)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765ACC #B0CC5A
analogous
#5A77CC #765ACC #AF5ACC
triadic
#765ACC #CC765A #5ACC76
tetradic
#765ACC #CC5A77 #B0CC5A #5ACCAF
square
#765ACC #CC5A77 #B0CC5A #5ACCAF
split-complementary
#765ACC #CCAF5A #77CC5A
monochromatic
#3F2983 #5537B2 #765ACC #9D89DA #C4B7E9

Accessibility & contrast

On white

5.12
#765ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#765ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765ACC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765ACC#FFFFFF#000000##FFFFFF
##765ACC1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C70D0
Deuteranopia (green-blind)
#236BC9
Tritanopia (blue-blind)
#5E738A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #765acc;
/* rgb */ color: rgb(118, 90, 204);
/* oklch */ color: oklch(55.3% 0.169 291.2);
Tailwind
colors: {
  custom: {
    50: '#a389dc',
    500: '#765acc',
    950: '#000000',
  },
}
SCSS
$custom: #765acc;
$custom-light: #a389dc;
$custom-dark: #000000;
JSON
{
  "hex": "#765acc",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 254.737,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5534,
    "c": 0.16941,
    "h": 291.2
  },
  "luminance": 0.15524
}

Semantic roles & 50–950 ramp

primary
#765ACC
secondary
#CDD8AA
accent
#DC4CB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #765ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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