#765ECA#765ECA

#765ECA is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.9% C 0.161 H 290.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#765ECA
RGBrgb(118, 94, 202)
HSLhsl(253, 50%, 58%)
HSVhsv(253, 53%, 79%)
CMYKcmyk(41.6%, 53.5%, 0%, 20.8%)
CIE-LABlab(47.13, 35.48, -53.10)
CIE-LCHlch(47.13, 63.87, 303.75°)
OKLaboklab(55.88% 0.0563 -0.1509)
OKLCHoklch(55.88% 0.161 290.5)
XYZxyz(22.1317, 16.1205, 57.8112)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765ECA #B2CA5E
analogous
#5E7CCA #765ECA #AC5ECA
triadic
#765ECA #CA765E #5ECA76
tetradic
#765ECA #CA5E7C #B2CA5E #5ECAAC
square
#765ECA #CA5E7C #B2CA5E #5ECAAC
split-complementary
#765ECA #CAAC5E #7CCA5E
monochromatic
#3E2B83 #543AB1 #765ECA #9D8CD9 #C4BAE8

Accessibility & contrast

On white

4.97
#765ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#765ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765ECA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765ECA#FFFFFF#000000##FFFFFF
##765ECA1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CE
Deuteranopia (green-blind)
#2F6DC8
Tritanopia (blue-blind)
#5F758B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #765eca;
/* rgb */ color: rgb(118, 94, 202);
/* oklch */ color: oklch(55.9% 0.161 290.5);
Tailwind
colors: {
  custom: {
    50: '#a28cdb',
    500: '#765eca',
    950: '#000000',
  },
}
SCSS
$custom: #765eca;
$custom-light: #a28cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#765eca",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 253.333,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55884,
    "c": 0.16103,
    "h": 290.5
  },
  "luminance": 0.16121
}

Semantic roles & 50–950 ramp

primary
#765ECA
secondary
#CED7AC
accent
#DA4EBB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #765ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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