#765CE2#765CE2

#765CE2 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.2% C 0.195 H 287.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#765CE2
RGBrgb(118, 92, 226)
HSLhsl(252, 70%, 62%)
HSVhsv(252, 59%, 89%)
CMYKcmyk(47.8%, 59.3%, 0%, 11.4%)
CIE-LABlab(48.25, 43.49, -64.98)
CIE-LCHlch(48.25, 78.19, 303.80°)
OKLaboklab(57.21% 0.0586 -0.1858)
OKLCHoklch(57.21% 0.195 287.5)
XYZxyz(25.0218, 16.9957, 73.8988)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CE2 #C8E25C
analogous
#5C85E2 #765CE2 #B95CE2
triadic
#765CE2 #E2765C #5CE276
tetradic
#765CE2 #E25C85 #C8E25C #5CE2B9
square
#765CE2 #E25C85 #C8E25C #5CE2B9
split-complementary
#765CE2 #E2B95C #85E25C
monochromatic
#381EA6 #4A28D9 #765CE2 #A290EB #CDC4F4

Accessibility & contrast

On white

4.77
#765CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#765CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CE2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CE2#FFFFFF#000000##FFFFFF
##765CE21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#517B96
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #765ce2;
/* rgb */ color: rgb(118, 92, 226);
/* oklch */ color: oklch(57.2% 0.195 287.5);
Tailwind
colors: {
  custom: {
    50: '#a58bec',
    500: '#765ce2',
    950: '#000000',
  },
}
SCSS
$custom: #765ce2;
$custom-light: #a58bec;
$custom-dark: #000000;
JSON
{
  "hex": "#765ce2",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 251.642,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57214,
    "c": 0.19482,
    "h": 287.5
  },
  "luminance": 0.16997
}

Semantic roles & 50–950 ramp

primary
#765CE2
secondary
#DCE5B4
accent
#D214AD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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