#765BEA#765BEA

#765BEA is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.6% C 0.206 H 286.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#765BEA
RGBrgb(118, 91, 234)
HSLhsl(251, 77%, 64%)
HSVhsv(251, 61%, 92%)
CMYKcmyk(49.6%, 61.1%, 0%, 8.2%)
CIE-LABlab(48.60, 46.36, -68.93)
CIE-LCHlch(48.60, 83.07, 303.93°)
OKLaboklab(57.65% 0.0592 -0.1974)
OKLCHoklch(57.65% 0.206 286.7)
XYZxyz(26.0592, 17.2730, 79.7869)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BEA #CFEA5B
analogous
#5B87EA #765BEA #BD5BEA
triadic
#765BEA #EA765B #5BEA76
tetradic
#765BEA #EA5B87 #CFEA5B #5BEABD
square
#765BEA #EA5B87 #CFEA5B #5BEABD
split-complementary
#765BEA #EABD5B #87EA5B
monochromatic
#3517B4 #4925E3 #765BEA #A391F1 #D1C8F8

Accessibility & contrast

On white

4.71
#765BEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#765BEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BEA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BEA#FFFFFF#000000##FFFFFF
##765BEA1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#4C7D9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #765bea;
/* rgb */ color: rgb(118, 91, 234);
/* oklch */ color: oklch(57.6% 0.206 286.7);
Tailwind
colors: {
  custom: {
    50: '#a68bf2',
    500: '#765bea',
    950: '#000000',
  },
}
SCSS
$custom: #765bea;
$custom-light: #a68bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#765bea",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 251.329,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57646,
    "c": 0.20611,
    "h": 286.7
  },
  "luminance": 0.17274
}

Semantic roles & 50–950 ramp

primary
#765BEA
secondary
#E0EAB7
accent
#DA0CB3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #765BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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