#765CDF#765CDF

#765CDF is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.0% C 0.191 H 287.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#765CDF
RGBrgb(118, 92, 223)
HSLhsl(252, 67%, 62%)
HSVhsv(252, 59%, 87%)
CMYKcmyk(47.1%, 58.7%, 0%, 12.5%)
CIE-LABlab(48.05, 42.63, -63.61)
CIE-LCHlch(48.05, 76.58, 303.83°)
OKLaboklab(57% 0.0587 -0.1818)
OKLCHoklch(57% 0.191 287.9)
XYZxyz(24.6138, 16.8325, 71.7498)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CDF #C5DF5C
analogous
#5C84DF #765CDF #B75CDF
triadic
#765CDF #DF765C #5CDF76
tetradic
#765CDF #DF5C84 #C5DF5C #5CDFB7
square
#765CDF #DF5C84 #C5DF5C #5CDFB7
split-complementary
#765CDF #DFB75C #84DF5C
monochromatic
#3920A1 #4B2AD4 #765CDF #A18FE9 #CCC2F3

Accessibility & contrast

On white

4.81
#765CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#765CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CDF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CDF#FFFFFF#000000##FFFFFF
##765CDF1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#537A95
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #765cdf;
/* rgb */ color: rgb(118, 92, 223);
/* oklch */ color: oklch(57.0% 0.191 287.9);
Tailwind
colors: {
  custom: {
    50: '#a58bea',
    500: '#765cdf',
    950: '#000000',
  },
}
SCSS
$custom: #765cdf;
$custom-light: #a58bea;
$custom-dark: #000000;
JSON
{
  "hex": "#765cdf",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 251.908,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56997,
    "c": 0.19103,
    "h": 287.9
  },
  "luminance": 0.16834
}

Semantic roles & 50–950 ramp

primary
#765CDF
secondary
#DAE4B3
accent
#CF16AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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