#765CCA#765CCA

#765CCA is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.5% C 0.164 H 291.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#765CCA
RGBrgb(118, 92, 202)
HSLhsl(254, 51%, 58%)
HSVhsv(254, 54%, 79%)
CMYKcmyk(41.6%, 54.5%, 0%, 20.8%)
CIE-LABlab(46.67, 36.66, -53.84)
CIE-LCHlch(46.67, 65.14, 304.25°)
OKLaboklab(55.54% 0.0587 -0.153)
OKLCHoklch(55.54% 0.164 291)
XYZxyz(21.9561, 15.7694, 57.7526)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CCA #B0CA5C
analogous
#5C79CA #765CCA #AD5CCA
triadic
#765CCA #CA765C #5CCA76
tetradic
#765CCA #CA5C79 #B0CA5C #5CCAAD
square
#765CCA #CA5C79 #B0CA5C #5CCAAD
split-complementary
#765CCA #CAAD5C #79CA5C
monochromatic
#3F2A81 #5539B0 #765CCA #9D8AD9 #C4B8E8

Accessibility & contrast

On white

5.06
#765CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#765CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CCA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CCA#FFFFFF#000000##FFFFFF
##765CCA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2670CE
Deuteranopia (green-blind)
#2B6CC8
Tritanopia (blue-blind)
#5F738A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #765cca;
/* rgb */ color: rgb(118, 92, 202);
/* oklch */ color: oklch(55.5% 0.164 291.0);
Tailwind
colors: {
  custom: {
    50: '#a28bdb',
    500: '#765cca',
    950: '#000000',
  },
}
SCSS
$custom: #765cca;
$custom-light: #a28bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#765cca",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 202
  },
  "hsl": {
    "h": 254.182,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55542,
    "c": 0.16392,
    "h": 291
  },
  "luminance": 0.1577
}

Semantic roles & 50–950 ramp

primary
#765CCA
secondary
#CDD7AB
accent
#DA4DB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #765CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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