#765CC8#765CC8

#765CC8 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.4% C 0.161 H 291.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#765CC8
RGBrgb(118, 92, 200)
HSLhsl(254, 50%, 57%)
HSVhsv(254, 54%, 78%)
CMYKcmyk(41%, 54%, 0%, 21.6%)
CIE-LABlab(46.55, 36.10, -52.89)
CIE-LCHlch(46.55, 64.04, 304.31°)
OKLaboklab(55.41% 0.0586 -0.1503)
OKLCHoklch(55.41% 0.161 291.3)
XYZxyz(21.7208, 15.6753, 56.5136)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CC8 #AEC85C
analogous
#5C78C8 #765CC8 #AC5CC8
triadic
#765CC8 #C8765C #5CC876
tetradic
#765CC8 #C85C78 #AEC85C #5CC8AC
square
#765CC8 #C85C78 #AEC85C #5CC8AC
split-complementary
#765CC8 #C8AC5C #78C85C
monochromatic
#3F2B7F #563AAD #765CC8 #9C8AD7 #C3B8E7

Accessibility & contrast

On white

5.08
#765CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #765CC8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CC8#FFFFFF#000000##FFFFFF
##765CC81.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2970CC
Deuteranopia (green-blind)
#2E6CC6
Tritanopia (blue-blind)
#607389
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #765cc8;
/* rgb */ color: rgb(118, 92, 200);
/* oklch */ color: oklch(55.4% 0.161 291.3);
Tailwind
colors: {
  custom: {
    50: '#a28bd9',
    500: '#765cc8',
    950: '#000000',
  },
}
SCSS
$custom: #765cc8;
$custom-light: #a28bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#765cc8",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 254.444,
    "s": 49.541,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55409,
    "c": 0.1613,
    "h": 291.3
  },
  "luminance": 0.15676
}

Semantic roles & 50–950 ramp

primary
#765CC8
secondary
#CBD6AA
accent
#D94FB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #765CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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