#765CCF#765CCF

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

Color values

HEX#765CCF
RGBrgb(118, 92, 207)
HSLhsl(254, 55%, 59%)
HSVhsv(254, 56%, 81%)
CMYKcmyk(43%, 55.6%, 0%, 18.8%)
CIE-LABlab(46.99, 38.07, -56.20)
CIE-LCHlch(46.99, 67.88, 304.11°)
OKLaboklab(55.88% 0.0588 -0.16)
OKLCHoklch(55.88% 0.17 290.2)
XYZxyz(22.5577, 16.0101, 60.9211)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CCF #B5CF5C
analogous
#5C7BCF #765CCF #AF5CCF
triadic
#765CCF #CF765C #5CCF76
tetradic
#765CCF #CF5C7B #B5CF5C #5CCFAF
square
#765CCF #CF5C7B #B5CF5C #5CCFAF
split-complementary
#765CCF #CFAF5C #7BCF5C
monochromatic
#3E2888 #5336B8 #765CCF #9E8BDD #C5BBEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##765CCF#FFFFFF#000000##FFFFFF
##765CCF1.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)
#1D72D3
Deuteranopia (green-blind)
#236DCC
Tritanopia (blue-blind)
#5C758D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #765ccf;
/* rgb */ color: rgb(118, 92, 207);
/* oklch */ color: oklch(55.9% 0.170 290.2);
Tailwind
colors: {
  custom: {
    50: '#a38bde',
    500: '#765ccf',
    950: '#000000',
  },
}
SCSS
$custom: #765ccf;
$custom-light: #a38bde;
$custom-dark: #000000;
JSON
{
  "hex": "#765ccf",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 253.565,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55878,
    "c": 0.17046,
    "h": 290.2
  },
  "luminance": 0.16011
}

Semantic roles & 50–950 ramp

primary
#765CCF
secondary
#D0DAAD
accent
#DE4ABC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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