#765DDF#765DDF

#765DDF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.2% C 0.190 H 287.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#765DDF
RGBrgb(118, 93, 223)
HSLhsl(252, 67%, 62%)
HSVhsv(252, 58%, 87%)
CMYKcmyk(47.1%, 58.3%, 0%, 12.5%)
CIE-LABlab(48.27, 42.06, -63.26)
CIE-LCHlch(48.27, 75.96, 303.62°)
OKLaboklab(57.16% 0.0576 -0.1807)
OKLCHoklch(57.16% 0.19 287.7)
XYZxyz(24.7010, 17.0069, 71.7789)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DDF #C6DF5D
analogous
#5D85DF #765DDF #B75DDF
triadic
#765DDF #DF765D #5DDF76
tetradic
#765DDF #DF5D85 #C6DF5D #5DDFB7
square
#765DDF #DF5D85 #C6DF5D #5DDFB7
split-complementary
#765DDF #DFB75D #85DF5D
monochromatic
#3920A2 #4B2AD5 #765DDF #A190E9 #CCC3F3

Accessibility & contrast

On white

4.77
#765DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#765DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765DDF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DDF#FFFFFF#000000##FFFFFF
##765DDF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#537B95
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #765ddf;
/* rgb */ color: rgb(118, 93, 223);
/* oklch */ color: oklch(57.2% 0.190 287.7);
Tailwind
colors: {
  custom: {
    50: '#a58cea',
    500: '#765ddf',
    950: '#000000',
  },
}
SCSS
$custom: #765ddf;
$custom-light: #a58cea;
$custom-dark: #000000;
JSON
{
  "hex": "#765ddf",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 223
  },
  "hsl": {
    "h": 251.538,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57159,
    "c": 0.18969,
    "h": 287.7
  },
  "luminance": 0.17008
}

Semantic roles & 50–950 ramp

primary
#765DDF
secondary
#DBE4B4
accent
#CF17AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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