#765CEA#765CEA

#765CEA is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.8% C 0.205 H 286.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#765CEA
RGBrgb(118, 92, 234)
HSLhsl(251, 77%, 64%)
HSVhsv(251, 61%, 92%)
CMYKcmyk(49.6%, 60.7%, 0%, 8.2%)
CIE-LABlab(48.82, 45.80, -68.58)
CIE-LCHlch(48.82, 82.47, 303.74°)
OKLaboklab(57.8% 0.0582 -0.1964)
OKLCHoklch(57.8% 0.205 286.5)
XYZxyz(26.1453, 17.4451, 79.8156)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CEA #D0EA5C
analogous
#5C89EA #765CEA #BD5CEA
triadic
#765CEA #EA765C #5CEA76
tetradic
#765CEA #EA5C89 #D0EA5C #5CEABD
square
#765CEA #EA5C89 #D0EA5C #5CEABD
split-complementary
#765CEA #EABD5C #89EA5C
monochromatic
#3417B4 #4826E3 #765CEA #A492F1 #D1C8F8

Accessibility & contrast

On white

4.68
#765CEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#765CEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CEA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CEA#FFFFFF#000000##FFFFFF
##765CEA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#4C7E9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #765cea;
/* rgb */ color: rgb(118, 92, 234);
/* oklch */ color: oklch(57.8% 0.205 286.5);
Tailwind
colors: {
  custom: {
    50: '#a68bf2',
    500: '#765cea',
    950: '#000000',
  },
}
SCSS
$custom: #765cea;
$custom-light: #a68bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#765cea",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 250.986,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57802,
    "c": 0.20484,
    "h": 286.5
  },
  "luminance": 0.17446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #765CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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