#765BE1#765BE1

#765BE1 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.0% C 0.195 H 287.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#765BE1
RGBrgb(118, 91, 225)
HSLhsl(252, 69%, 62%)
HSVhsv(252, 60%, 88%)
CMYKcmyk(47.6%, 59.6%, 0%, 11.8%)
CIE-LABlab(47.97, 43.78, -64.88)
CIE-LCHlch(47.97, 78.26, 304.01°)
OKLaboklab(56.98% 0.0597 -0.1855)
OKLCHoklch(56.98% 0.195 287.8)
XYZxyz(24.7990, 16.7689, 73.1496)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BE1 #C6E15B
analogous
#5B83E1 #765BE1 #B95BE1
triadic
#765BE1 #E1765B #5BE176
tetradic
#765BE1 #E15B83 #C6E15B #5BE1B9
square
#765BE1 #E15B83 #C6E15B #5BE1B9
split-complementary
#765BE1 #E1B95B #83E15B
monochromatic
#391EA4 #4B27D7 #765BE1 #A18FEA #CCC2F4

Accessibility & contrast

On white

4.82
#765BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#765BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BE1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BE1#FFFFFF#000000##FFFFFF
##765BE11.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#006EDE
Tritanopia (blue-blind)
#527A95
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #765be1;
/* rgb */ color: rgb(118, 91, 225);
/* oklch */ color: oklch(57.0% 0.195 287.8);
Tailwind
colors: {
  custom: {
    50: '#a58aeb',
    500: '#765be1',
    950: '#000000',
  },
}
SCSS
$custom: #765be1;
$custom-light: #a58aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#765be1",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 252.09,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56982,
    "c": 0.19487,
    "h": 287.8
  },
  "luminance": 0.1677
}

Semantic roles & 50–950 ramp

primary
#765BE1
secondary
#DBE5B3
accent
#D114AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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