#765CE8#765CE8

#765CE8 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.7% C 0.202 H 286.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#765CE8
RGBrgb(118, 92, 232)
HSLhsl(251, 75%, 64%)
HSVhsv(251, 60%, 91%)
CMYKcmyk(49.1%, 60.3%, 0%, 9%)
CIE-LABlab(48.67, 45.22, -67.68)
CIE-LCHlch(48.67, 81.40, 303.75°)
OKLaboklab(57.65% 0.0583 -0.1938)
OKLCHoklch(57.65% 0.202 286.8)
XYZxyz(25.8596, 17.3308, 78.3109)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CE8 #CEE85C
analogous
#5C88E8 #765CE8 #BC5CE8
triadic
#765CE8 #E8765C #5CE876
tetradic
#765CE8 #E85C88 #CEE85C #5CE8BC
square
#765CE8 #E85C88 #CEE85C #5CE8BC
split-complementary
#765CE8 #E8BC5C #88E85C
monochromatic
#3519B1 #4926E0 #765CE8 #A392F0 #D0C7F7

Accessibility & contrast

On white

4.70
#765CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#765CE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CE8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CE8#FFFFFF#000000##FFFFFF
##765CE81.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#4D7D99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #765ce8;
/* rgb */ color: rgb(118, 92, 232);
/* oklch */ color: oklch(57.7% 0.202 286.8);
Tailwind
colors: {
  custom: {
    50: '#a68bf0',
    500: '#765ce8',
    950: '#000000',
  },
}
SCSS
$custom: #765ce8;
$custom-light: #a68bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#765ce8",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 251.143,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57654,
    "c": 0.20235,
    "h": 286.8
  },
  "luminance": 0.17332
}

Semantic roles & 50–950 ramp

primary
#765CE8
secondary
#DFE9B7
accent
#D70EB2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #765CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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