#765BE7#765BE7

#765BE7 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.4% C 0.202 H 287.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#765BE7
RGBrgb(118, 91, 231)
HSLhsl(252, 74%, 63%)
HSVhsv(252, 61%, 91%)
CMYKcmyk(48.9%, 60.6%, 0%, 9.4%)
CIE-LABlab(48.39, 45.50, -67.58)
CIE-LCHlch(48.39, 81.47, 303.95°)
OKLaboklab(57.42% 0.0594 -0.1935)
OKLCHoklch(57.42% 0.202 287.1)
XYZxyz(25.6319, 17.1021, 77.5363)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BE7 #CCE75B
analogous
#5B86E7 #765BE7 #BC5BE7
triadic
#765BE7 #E7765B #5BE776
tetradic
#765BE7 #E75B86 #CCE75B #5BE7BC
square
#765BE7 #E75B86 #CCE75B #5BE7BC
split-complementary
#765BE7 #E7BC5B #86E75B
monochromatic
#3619AE #4926DF #765BE7 #A390EF #CFC6F7

Accessibility & contrast

On white

4.75
#765BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#765BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BE7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BE7#FFFFFF#000000##FFFFFF
##765BE71.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#4E7C98
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #765be7;
/* rgb */ color: rgb(118, 91, 231);
/* oklch */ color: oklch(57.4% 0.202 287.1);
Tailwind
colors: {
  custom: {
    50: '#a68af0',
    500: '#765be7',
    950: '#000000',
  },
}
SCSS
$custom: #765be7;
$custom-light: #a68af0;
$custom-dark: #000000;
JSON
{
  "hex": "#765be7",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 251.571,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57423,
    "c": 0.20239,
    "h": 287.1
  },
  "luminance": 0.17103
}

Semantic roles & 50–950 ramp

primary
#765BE7
secondary
#DEE8B6
accent
#D70FB0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #765BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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