#765CC9#765CC9

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

Color values

HEX#765CC9
RGBrgb(118, 92, 201)
HSLhsl(254, 50%, 57%)
HSVhsv(254, 54%, 79%)
CMYKcmyk(41.3%, 54.2%, 0%, 21.2%)
CIE-LABlab(46.61, 36.38, -53.37)
CIE-LCHlch(46.61, 64.59, 304.28°)
OKLaboklab(55.47% 0.0587 -0.1517)
OKLCHoklch(55.47% 0.163 291.2)
XYZxyz(21.8381, 15.7222, 57.1311)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CC9 #AFC95C
analogous
#5C79C9 #765CC9 #AC5CC9
triadic
#765CC9 #C9765C #5CC976
tetradic
#765CC9 #C95C79 #AFC95C #5CC9AC
square
#765CC9 #C95C79 #AFC95C #5CC9AC
split-complementary
#765CC9 #C9AC5C #79C95C
monochromatic
#3F2A80 #553AAE #765CC9 #9D8AD8 #C3B8E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##765CC9#FFFFFF#000000##FFFFFF
##765CC91.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)
#2770CD
Deuteranopia (green-blind)
#2C6CC7
Tritanopia (blue-blind)
#5F738A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #765cc9;
/* rgb */ color: rgb(118, 92, 201);
/* oklch */ color: oklch(55.5% 0.163 291.2);
Tailwind
colors: {
  custom: {
    50: '#a28bda',
    500: '#765cc9',
    950: '#000000',
  },
}
SCSS
$custom: #765cc9;
$custom-light: #a28bda;
$custom-dark: #000000;
JSON
{
  "hex": "#765cc9",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 201
  },
  "hsl": {
    "h": 254.312,
    "s": 50.23,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55475,
    "c": 0.16262,
    "h": 291.2
  },
  "luminance": 0.15723
}

Semantic roles & 50–950 ramp

primary
#765CC9
secondary
#CCD6AA
accent
#DA4EB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #765CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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