#765BEC#765BEC

#765BEC is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.8% C 0.209 H 286.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#765BEC
RGBrgb(118, 91, 236)
HSLhsl(251, 79%, 64%)
HSVhsv(251, 61%, 93%)
CMYKcmyk(50%, 61.4%, 0%, 7.5%)
CIE-LABlab(48.75, 46.94, -69.82)
CIE-LCHlch(48.75, 84.13, 303.91°)
OKLaboklab(57.8% 0.0591 -0.2)
OKLCHoklch(57.8% 0.209 286.5)
XYZxyz(26.3482, 17.3886, 81.3086)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BEC #D1EC5B
analogous
#5B89EC #765BEC #BE5BEC
triadic
#765BEC #EC765B #5BEC76
tetradic
#765BEC #EC5B89 #D1EC5B #5BECBE
square
#765BEC #EC5B89 #D1EC5B #5BECBE
split-complementary
#765BEC #ECBE5B #89EC5B
monochromatic
#3315B7 #4824E6 #765BEC #A492F2 #D2C9F9

Accessibility & contrast

On white

4.69
#765BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#765BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BEC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BEC#FFFFFF#000000##FFFFFF
##765BEC1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#0070E9
Tritanopia (blue-blind)
#4B7E9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #765bec;
/* rgb */ color: rgb(118, 91, 236);
/* oklch */ color: oklch(57.8% 0.209 286.5);
Tailwind
colors: {
  custom: {
    50: '#a68bf3',
    500: '#765bec',
    950: '#000000',
  },
}
SCSS
$custom: #765bec;
$custom-light: #a68bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#765bec",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 251.172,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57796,
    "c": 0.20858,
    "h": 286.5
  },
  "luminance": 0.1739
}

Semantic roles & 50–950 ramp

primary
#765BEC
secondary
#E1EBB8
accent
#DC0AB5
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #765BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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