#762DDD#762DDD

#762DDD is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.8% C 0.242 H 294.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#762DDD
RGBrgb(118, 45, 221)
HSLhsl(265, 72%, 52%)
HSVhsv(265, 80%, 87%)
CMYKcmyk(46.6%, 79.6%, 0%, 13.3%)
CIE-LABlab(39.49, 65.25, -76.42)
CIE-LCHlch(39.49, 100.49, 310.49°)
OKLaboklab(50.83% 0.1016 -0.2192)
OKLCHoklch(50.83% 0.242 294.9)
XYZxyz(21.4572, 10.9482, 69.3753)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762DDD #94DD2D
analogous
#2D3CDD #762DDD #CE2DDD
triadic
#762DDD #DD762D #2DDD76
tetradic
#762DDD #DD2D3C #94DD2D #2DDDCE
square
#762DDD #DD2D3C #94DD2D #2DDDCE
split-complementary
#762DDD #DDCE2D #3CDD2D
monochromatic
#3F147C #5A1DB0 #762DDD #9862E6 #BB96EE

Accessibility & contrast

On white

6.58
#762DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#762DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #762DDD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762DDD#FFFFFF#000000##FFFFFF
##762DDD1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE2
Deuteranopia (green-blind)
#005ADA
Tritanopia (blue-blind)
#576086
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #762ddd;
/* rgb */ color: rgb(118, 45, 221);
/* oklch */ color: oklch(50.8% 0.242 294.9);
Tailwind
colors: {
  custom: {
    50: '#a76fe9',
    500: '#762ddd',
    950: '#000000',
  },
}
SCSS
$custom: #762ddd;
$custom-light: #a76fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#762ddd",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 221
  },
  "hsl": {
    "h": 264.886,
    "s": 72.131,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50832,
    "c": 0.24161,
    "h": 294.9
  },
  "luminance": 0.10949
}

Semantic roles & 50–950 ramp

primary
#762DDD
secondary
#B9D98C
accent
#EF39A3
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #762DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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