#765CE7#765CE7

#765CE7 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.6% C 0.201 H 286.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#765CE7
RGBrgb(118, 92, 231)
HSLhsl(251, 74%, 63%)
HSVhsv(251, 60%, 91%)
CMYKcmyk(48.9%, 60.2%, 0%, 9.4%)
CIE-LABlab(48.60, 44.93, -67.24)
CIE-LCHlch(48.60, 80.87, 303.75°)
OKLaboklab(57.58% 0.0584 -0.1924)
OKLCHoklch(57.58% 0.201 286.9)
XYZxyz(25.7179, 17.2742, 77.5650)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CE7 #CDE75C
analogous
#5C87E7 #765CE7 #BB5CE7
triadic
#765CE7 #E7765C #5CE776
tetradic
#765CE7 #E75C87 #CDE75C #5CE7BB
square
#765CE7 #E75C87 #CDE75C #5CE7BB
split-complementary
#765CE7 #E7BB5C #87E75C
monochromatic
#361AAF #4927DF #765CE7 #A391EF #D0C7F7

Accessibility & contrast

On white

4.71
#765CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#765CE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CE7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CE7#FFFFFF#000000##FFFFFF
##765CE71.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#4E7D99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #765ce7;
/* rgb */ color: rgb(118, 92, 231);
/* oklch */ color: oklch(57.6% 0.201 286.9);
Tailwind
colors: {
  custom: {
    50: '#a68bef',
    500: '#765ce7',
    950: '#000000',
  },
}
SCSS
$custom: #765ce7;
$custom-light: #a68bef;
$custom-dark: #000000;
JSON
{
  "hex": "#765ce7",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 251.223,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5758,
    "c": 0.2011,
    "h": 286.9
  },
  "luminance": 0.17275
}

Semantic roles & 50–950 ramp

primary
#765CE7
secondary
#DFE8B7
accent
#D60FB1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #765CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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