#765BE3#765BE3

#765BE3 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.1% C 0.197 H 287.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#765BE3
RGBrgb(118, 91, 227)
HSLhsl(252, 71%, 62%)
HSVhsv(252, 60%, 89%)
CMYKcmyk(48%, 59.9%, 0%, 11%)
CIE-LABlab(48.11, 44.35, -65.78)
CIE-LCHlch(48.11, 79.34, 303.99°)
OKLaboklab(57.13% 0.0596 -0.1882)
OKLCHoklch(57.13% 0.197 287.6)
XYZxyz(25.0734, 16.8787, 74.5949)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BE3 #C8E35B
analogous
#5B84E3 #765BE3 #BA5BE3
triadic
#765BE3 #E3765B #5BE376
tetradic
#765BE3 #E35B84 #C8E35B #5BE3BA
square
#765BE3 #E35B84 #C8E35B #5BE3BA
split-complementary
#765BE3 #E3BA5B #84E35B
monochromatic
#381DA7 #4A27DA #765BE3 #A28FEC #CDC4F5

Accessibility & contrast

On white

4.80
#765BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#765BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BE3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BE3#FFFFFF#000000##FFFFFF
##765BE31.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#517B96
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #765be3;
/* rgb */ color: rgb(118, 91, 227);
/* oklch */ color: oklch(57.1% 0.197 287.6);
Tailwind
colors: {
  custom: {
    50: '#a58aed',
    500: '#765be3',
    950: '#000000',
  },
}
SCSS
$custom: #765be3;
$custom-light: #a58aed;
$custom-dark: #000000;
JSON
{
  "hex": "#765be3",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 251.912,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57128,
    "c": 0.19739,
    "h": 287.6
  },
  "luminance": 0.1688
}

Semantic roles & 50–950 ramp

primary
#765BE3
secondary
#DCE6B4
accent
#D313AD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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