#762DB3#762DB3

#762DB3 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.3% C 0.199 H 304.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#762DB3
RGBrgb(118, 45, 179)
HSLhsl(273, 60%, 44%)
HSVhsv(273, 75%, 70%)
CMYKcmyk(34.1%, 74.9%, 0%, 29.8%)
CIE-LABlab(35.95, 55.24, -57.73)
CIE-LCHlch(35.95, 79.90, 313.74°)
OKLaboklab(47.27% 0.1129 -0.1644)
OKLCHoklch(47.27% 0.199 304.5)
XYZxyz(16.5444, 8.9831, 43.5014)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762DB3 #6AB32D
analogous
#332DB3 #762DB3 #B32DAD
triadic
#762DB3 #B3762D #2DB376
tetradic
#762DB3 #B3332D #6AB32D #2DADB3
square
#762DB3 #B3332D #6AB32D #2DADB3
split-complementary
#762DB3 #ADB32D #2DB333
monochromatic
#361451 #562182 #762DB3 #954BD2 #B27CDE

Accessibility & contrast

On white

7.51
#762DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#762DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762DB3
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762DB3#FFFFFF#000000##FFFFFF
##762DB31.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#6A4E6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762db3;
/* rgb */ color: rgb(118, 45, 179);
/* oklch */ color: oklch(47.3% 0.199 304.5);
Tailwind
colors: {
  custom: {
    50: '#a36dcb',
    500: '#762db3',
    950: '#000000',
  },
}
SCSS
$custom: #762db3;
$custom-light: #a36dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#762db3",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 272.687,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47269,
    "c": 0.1994,
    "h": 304.5
  },
  "luminance": 0.08983
}

Semantic roles & 50–950 ramp

primary
#762DB3
secondary
#9AC775
accent
#E3458D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762DB3

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

Preview Lab → · Contrast checker → · Palette generator →

#762DB3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva