#765FEC#765FEC

#765FEC is a mid, highly saturated blue. Relative luminance 0.181; OKLCH L 58.4% C 0.204 H 285.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#765FEC
RGBrgb(118, 95, 236)
HSLhsl(250, 79%, 65%)
HSVhsv(250, 60%, 93%)
CMYKcmyk(50%, 59.7%, 0%, 7.5%)
CIE-LABlab(49.61, 44.67, -68.42)
CIE-LCHlch(49.61, 81.72, 303.14°)
OKLaboklab(58.43% 0.0551 -0.1959)
OKLCHoklch(58.43% 0.204 285.7)
XYZxyz(26.6993, 18.0908, 81.4257)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FEC #D5EC5F
analogous
#5F8FEC #765FEC #BC5FEC
triadic
#765FEC #EC765F #5FEC76
tetradic
#765FEC #EC5F8F #D5EC5F #5FECBC
square
#765FEC #EC5F8F #D5EC5F #5FECBC
split-complementary
#765FEC #ECBC5F #8FEC5F
monochromatic
#3116BA #4728E6 #765FEC #A596F2 #D4CCF9

Accessibility & contrast

On white

4.55
#765FEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#765FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #765FEC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FEC#FFFFFF#000000##000000
##765FEC1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#4A809D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #765fec;
/* rgb */ color: rgb(118, 95, 236);
/* oklch */ color: oklch(58.4% 0.204 285.7);
Tailwind
colors: {
  custom: {
    50: '#a68df3',
    500: '#765fec',
    950: '#000000',
  },
}
SCSS
$custom: #765fec;
$custom-light: #a68df3;
$custom-dark: #000000;
JSON
{
  "hex": "#765fec",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 249.787,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58425,
    "c": 0.20351,
    "h": 285.7
  },
  "luminance": 0.18092
}

Semantic roles & 50–950 ramp

primary
#765FEC
secondary
#E4EBBB
accent
#DB0AB9
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #765FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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