#765CCC#765CCC

#765CCC is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.7% C 0.167 H 290.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#765CCC
RGBrgb(118, 92, 204)
HSLhsl(254, 52%, 58%)
HSVhsv(254, 55%, 80%)
CMYKcmyk(42.2%, 54.9%, 0%, 20%)
CIE-LABlab(46.80, 37.22, -54.79)
CIE-LCHlch(46.80, 66.24, 304.19°)
OKLaboklab(55.68% 0.0588 -0.1558)
OKLCHoklch(55.68% 0.167 290.7)
XYZxyz(22.1944, 15.8648, 59.0079)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CCC #B2CC5C
analogous
#5C7ACC #765CCC #AE5CCC
triadic
#765CCC #CC765C #5CCC76
tetradic
#765CCC #CC5C7A #B2CC5C #5CCCAE
square
#765CCC #CC5C7A #B2CC5C #5CCCAE
split-complementary
#765CCC #CCAE5C #7ACC5C
monochromatic
#3E2984 #5438B3 #765CCC #9D8BDB #C4B9E9

Accessibility & contrast

On white

5.03
#765CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #765CCC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CCC#FFFFFF#000000##FFFFFF
##765CCC1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2371D0
Deuteranopia (green-blind)
#286CCA
Tritanopia (blue-blind)
#5E748B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #765ccc;
/* rgb */ color: rgb(118, 92, 204);
/* oklch */ color: oklch(55.7% 0.167 290.7);
Tailwind
colors: {
  custom: {
    50: '#a38bdc',
    500: '#765ccc',
    950: '#000000',
  },
}
SCSS
$custom: #765ccc;
$custom-light: #a38bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#765ccc",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 253.929,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55676,
    "c": 0.16655,
    "h": 290.7
  },
  "luminance": 0.15865
}

Semantic roles & 50–950 ramp

primary
#765CCC
secondary
#CED8AC
accent
#DC4CBA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #765CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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