#765DCB#765DCB

#765DCB is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.8% C 0.164 H 290.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#765DCB
RGBrgb(118, 93, 203)
HSLhsl(254, 51%, 58%)
HSVhsv(254, 54%, 80%)
CMYKcmyk(41.9%, 54.2%, 0%, 20.4%)
CIE-LABlab(46.96, 36.35, -53.95)
CIE-LCHlch(46.96, 65.05, 303.98°)
OKLaboklab(55.78% 0.0575 -0.1534)
OKLCHoklch(55.78% 0.164 290.6)
XYZxyz(22.1621, 15.9914, 58.4073)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DCB #B2CB5D
analogous
#5D7BCB #765DCB #AD5DCB
triadic
#765DCB #CB765D #5DCB76
tetradic
#765DCB #CB5D7B #B2CB5D #5DCBAD
square
#765DCB #CB5D7B #B2CB5D #5DCBAD
split-complementary
#765DCB #CBAD5D #7BCB5D
monochromatic
#3E2A83 #5439B2 #765DCB #9D8BDA #C4BAE9

Accessibility & contrast

On white

5.00
#765DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#765DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765DCB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DCB#FFFFFF#000000##FFFFFF
##765DCB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2771CF
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#5E748B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #765dcb;
/* rgb */ color: rgb(118, 93, 203);
/* oklch */ color: oklch(55.8% 0.164 290.6);
Tailwind
colors: {
  custom: {
    50: '#a28bdb',
    500: '#765dcb',
    950: '#000000',
  },
}
SCSS
$custom: #765dcb;
$custom-light: #a28bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#765dcb",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 253.636,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55779,
    "c": 0.1638,
    "h": 290.6
  },
  "luminance": 0.15992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #765DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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