#765CEB#765CEB

#765CEB is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 57.9% C 0.206 H 286.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#765CEB
RGBrgb(118, 92, 235)
HSLhsl(251, 78%, 64%)
HSVhsv(251, 61%, 92%)
CMYKcmyk(49.8%, 60.9%, 0%, 7.8%)
CIE-LABlab(48.89, 46.09, -69.03)
CIE-LCHlch(48.89, 83.00, 303.73°)
OKLaboklab(57.88% 0.0582 -0.1977)
OKLCHoklch(57.88% 0.206 286.4)
XYZxyz(26.2893, 17.5027, 80.5743)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CEB #D1EB5C
analogous
#5C8AEB #765CEB #BE5CEB
triadic
#765CEB #EB765C #5CEB76
tetradic
#765CEB #EB5C8A #D1EB5C #5CEBBE
square
#765CEB #EB5C8A #D1EB5C #5CEBBE
split-complementary
#765CEB #EBBE5C #8AEB5C
monochromatic
#3316B6 #4825E4 #765CEB #A493F2 #D2C9F8

Accessibility & contrast

On white

4.67
#765CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#765CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #765CEB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CEB#FFFFFF#000000##FFFFFF
##765CEB1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#4B7E9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #765ceb;
/* rgb */ color: rgb(118, 92, 235);
/* oklch */ color: oklch(57.9% 0.206 286.4);
Tailwind
colors: {
  custom: {
    50: '#a68bf2',
    500: '#765ceb',
    950: '#000000',
  },
}
SCSS
$custom: #765ceb;
$custom-light: #a68bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#765ceb",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 250.909,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57877,
    "c": 0.20609,
    "h": 286.4
  },
  "luminance": 0.17504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #765CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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