#765DC8#765DC8

#765DC8 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.6% C 0.160 H 291.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#765DC8
RGBrgb(118, 93, 200)
HSLhsl(254, 49%, 57%)
HSVhsv(254, 54%, 78%)
CMYKcmyk(41%, 53.5%, 0%, 21.6%)
CIE-LABlab(46.78, 35.51, -52.52)
CIE-LCHlch(46.78, 63.40, 304.06°)
OKLaboklab(55.58% 0.0574 -0.1492)
OKLCHoklch(55.58% 0.16 291)
XYZxyz(21.8080, 15.8497, 56.5427)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DC8 #AFC85D
analogous
#5D79C8 #765DC8 #AC5DC8
triadic
#765DC8 #C8765D #5DC876
tetradic
#765DC8 #C85D79 #AFC85D #5DC8AC
square
#765DC8 #C85D79 #AFC85D #5DC8AC
split-complementary
#765DC8 #C8AC5D #79C85D
monochromatic
#3F2B7F #553BAD #765DC8 #9D8BD8 #C3B8E7

Accessibility & contrast

On white

5.04
#765DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #765DC8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DC8#FFFFFF#000000##FFFFFF
##765DC81.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B71CC
Deuteranopia (green-blind)
#306DC6
Tritanopia (blue-blind)
#607389
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #765dc8;
/* rgb */ color: rgb(118, 93, 200);
/* oklch */ color: oklch(55.6% 0.160 291.0);
Tailwind
colors: {
  custom: {
    50: '#a28bd9',
    500: '#765dc8',
    950: '#000000',
  },
}
SCSS
$custom: #765dc8;
$custom-light: #a28bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#765dc8",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 254.019,
    "s": 49.309,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55581,
    "c": 0.15984,
    "h": 291
  },
  "luminance": 0.1585
}

Semantic roles & 50–950 ramp

primary
#765DC8
secondary
#CCD6AB
accent
#D94FB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #765DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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