#765ECB#765ECB

#765ECB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.0% C 0.162 H 290.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#765ECB
RGBrgb(118, 94, 203)
HSLhsl(253, 51%, 58%)
HSVhsv(253, 54%, 80%)
CMYKcmyk(41.9%, 53.7%, 0%, 20.4%)
CIE-LABlab(47.19, 35.77, -53.58)
CIE-LCHlch(47.19, 64.42, 303.73°)
OKLaboklab(55.95% 0.0563 -0.1523)
OKLCHoklch(55.95% 0.162 290.3)
XYZxyz(22.2504, 16.1680, 58.4367)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765ECB #B3CB5E
analogous
#5E7CCB #765ECB #AC5ECB
triadic
#765ECB #CB765E #5ECB76
tetradic
#765ECB #CB5E7C #B3CB5E #5ECBAC
square
#765ECB #CB5E7C #B3CB5E #5ECBAC
split-complementary
#765ECB #CBAC5E #7CCB5E
monochromatic
#3E2B84 #543AB2 #765ECB #9D8CDA #C5BBE9

Accessibility & contrast

On white

4.96
#765ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#765ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765ECB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765ECB#FFFFFF#000000##FFFFFF
##765ECB1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A72CF
Deuteranopia (green-blind)
#2D6DC9
Tritanopia (blue-blind)
#5E758B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #765ecb;
/* rgb */ color: rgb(118, 94, 203);
/* oklch */ color: oklch(56.0% 0.162 290.3);
Tailwind
colors: {
  custom: {
    50: '#a28cdb',
    500: '#765ecb',
    950: '#000000',
  },
}
SCSS
$custom: #765ecb;
$custom-light: #a28cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#765ecb",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 253.211,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5595,
    "c": 0.16235,
    "h": 290.3
  },
  "luminance": 0.16169
}

Semantic roles & 50–950 ramp

primary
#765ECB
secondary
#CFD8AD
accent
#DB4DBB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #765ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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