#765FE3#765FE3

#765FE3 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.8% C 0.192 H 286.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#765FE3
RGBrgb(118, 95, 227)
HSLhsl(250, 70%, 63%)
HSVhsv(250, 58%, 89%)
CMYKcmyk(48%, 58.1%, 0%, 11%)
CIE-LABlab(48.98, 42.06, -64.36)
CIE-LCHlch(48.98, 76.89, 303.16°)
OKLaboklab(57.77% 0.0554 -0.184)
OKLCHoklch(57.77% 0.192 286.7)
XYZxyz(25.4245, 17.5809, 74.7120)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FE3 #CCE35F
analogous
#5F8AE3 #765FE3 #B85FE3
triadic
#765FE3 #E3765F #5FE376
tetradic
#765FE3 #E35F8A #CCE35F #5FE3B8
square
#765FE3 #E35F8A #CCE35F #5FE3B8
split-complementary
#765FE3 #E3B85F #8AE35F
monochromatic
#361EAA #492BDA #765FE3 #A393EC #CFC7F5

Accessibility & contrast

On white

4.65
#765FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#765FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #765FE3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FE3#FFFFFF#000000##FFFFFF
##765FE31.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#517D98
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #765fe3;
/* rgb */ color: rgb(118, 95, 227);
/* oklch */ color: oklch(57.8% 0.192 286.7);
Tailwind
colors: {
  custom: {
    50: '#a58ded',
    500: '#765fe3',
    950: '#000000',
  },
}
SCSS
$custom: #765fe3;
$custom-light: #a58ded;
$custom-dark: #000000;
JSON
{
  "hex": "#765fe3",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 250.455,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57771,
    "c": 0.19213,
    "h": 286.7
  },
  "luminance": 0.17582
}

Semantic roles & 50–950 ramp

primary
#765FE3
secondary
#DEE7B7
accent
#D213B1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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