#765DEC#765DEC

#765DEC is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.1% C 0.206 H 286.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#765DEC
RGBrgb(118, 93, 236)
HSLhsl(250, 79%, 65%)
HSVhsv(250, 61%, 93%)
CMYKcmyk(50%, 60.6%, 0%, 7.5%)
CIE-LABlab(49.17, 45.81, -69.12)
CIE-LCHlch(49.17, 82.93, 303.53°)
OKLaboklab(58.11% 0.0571 -0.198)
OKLCHoklch(58.11% 0.206 286.1)
XYZxyz(26.5214, 17.7351, 81.3664)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DEC #D3EC5D
analogous
#5D8BEC #765DEC #BE5DEC
triadic
#765DEC #EC765D #5DEC76
tetradic
#765DEC #EC5D8B #D3EC5D #5DECBE
square
#765DEC #EC5D8B #D3EC5D #5DECBE
split-complementary
#765DEC #ECBE5D #8BEC5D
monochromatic
#3216B9 #4826E6 #765DEC #A494F2 #D3CBF9

Accessibility & contrast

On white

4.62
#765DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#765DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #765DEC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DEC#FFFFFF#000000##FFFFFF
##765DEC1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#0071E9
Tritanopia (blue-blind)
#4A7F9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #765dec;
/* rgb */ color: rgb(118, 93, 236);
/* oklch */ color: oklch(58.1% 0.206 286.1);
Tailwind
colors: {
  custom: {
    50: '#a68cf3',
    500: '#765dec',
    950: '#000000',
  },
}
SCSS
$custom: #765dec;
$custom-light: #a68cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#765dec",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 250.49,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58108,
    "c": 0.20606,
    "h": 286.1
  },
  "luminance": 0.17736
}

Semantic roles & 50–950 ramp

primary
#765DEC
secondary
#E2EBBA
accent
#DB0AB7
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #765DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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