#765BE2#765BE2

#765BE2 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.196 H 287.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#765BE2
RGBrgb(118, 91, 226)
HSLhsl(252, 70%, 62%)
HSVhsv(252, 60%, 89%)
CMYKcmyk(47.8%, 59.7%, 0%, 11.4%)
CIE-LABlab(48.04, 44.06, -65.33)
CIE-LCHlch(48.04, 78.80, 304.00°)
OKLaboklab(57.06% 0.0597 -0.1868)
OKLCHoklch(57.06% 0.196 287.7)
XYZxyz(24.9358, 16.8236, 73.8702)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BE2 #C7E25B
analogous
#5B84E2 #765BE2 #BA5BE2
triadic
#765BE2 #E2765B #5BE276
tetradic
#765BE2 #E25B84 #C7E25B #5BE2BA
square
#765BE2 #E25B84 #C7E25B #5BE2BA
split-complementary
#765BE2 #E2BA5B #84E25B
monochromatic
#381DA5 #4B27D9 #765BE2 #A18FEB #CDC3F4

Accessibility & contrast

On white

4.81
#765BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#765BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BE2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BE2#FFFFFF#000000##FFFFFF
##765BE21.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#527A96
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #765be2;
/* rgb */ color: rgb(118, 91, 226);
/* oklch */ color: oklch(57.1% 0.196 287.7);
Tailwind
colors: {
  custom: {
    50: '#a58aec',
    500: '#765be2',
    950: '#000000',
  },
}
SCSS
$custom: #765be2;
$custom-light: #a58aec;
$custom-dark: #000000;
JSON
{
  "hex": "#765be2",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 226
  },
  "hsl": {
    "h": 252,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57055,
    "c": 0.19612,
    "h": 287.7
  },
  "luminance": 0.16825
}

Semantic roles & 50–950 ramp

primary
#765BE2
secondary
#DBE5B4
accent
#D214AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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