#765BEB#765BEB

#765BEB is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.7% C 0.207 H 286.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#765BEB
RGBrgb(118, 91, 235)
HSLhsl(251, 78%, 64%)
HSVhsv(251, 61%, 92%)
CMYKcmyk(49.8%, 61.3%, 0%, 7.8%)
CIE-LABlab(48.67, 46.65, -69.37)
CIE-LCHlch(48.67, 83.60, 303.92°)
OKLaboklab(57.72% 0.0592 -0.1987)
OKLCHoklch(57.72% 0.207 286.6)
XYZxyz(26.2033, 17.3306, 80.5456)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BEB #D0EB5B
analogous
#5B88EB #765BEB #BE5BEB
triadic
#765BEB #EB765B #5BEB76
tetradic
#765BEB #EB5B88 #D0EB5B #5BEBBE
square
#765BEB #EB5B88 #D0EB5B #5BEBBE
split-complementary
#765BEB #EBBE5B #88EB5B
monochromatic
#3416B5 #4824E4 #765BEB #A492F2 #D1C8F8

Accessibility & contrast

On white

4.70
#765BEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#765BEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BEB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BEB#FFFFFF#000000##FFFFFF
##765BEB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#4B7D9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #765beb;
/* rgb */ color: rgb(118, 91, 235);
/* oklch */ color: oklch(57.7% 0.207 286.6);
Tailwind
colors: {
  custom: {
    50: '#a68bf2',
    500: '#765beb',
    950: '#000000',
  },
}
SCSS
$custom: #765beb;
$custom-light: #a68bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#765beb",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 251.25,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57721,
    "c": 0.20735,
    "h": 286.6
  },
  "luminance": 0.17332
}

Semantic roles & 50–950 ramp

primary
#765BEB
secondary
#E1EAB8
accent
#DB0BB4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #765BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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