#762BDF#762BDF

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

Color values

HEX#762BDF
RGBrgb(118, 43, 223)
HSLhsl(265, 74%, 52%)
HSVhsv(265, 81%, 87%)
CMYKcmyk(47.1%, 80.7%, 0%, 12.5%)
CIE-LABlab(39.42, 66.47, -77.68)
CIE-LCHlch(39.42, 102.24, 310.55°)
OKLaboklab(50.84% 0.1022 -0.2229)
OKLCHoklch(50.84% 0.245 294.6)
XYZxyz(21.6507, 10.9064, 70.7621)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762BDF #94DF2B
analogous
#2B3ADF #762BDF #D02BDF
triadic
#762BDF #DF762B #2BDF76
tetradic
#762BDF #DF2B3A #94DF2B #2BDFD0
square
#762BDF #DF2B3A #94DF2B #2BDFD0
split-complementary
#762BDF #DFD02B #3ADF2B
monochromatic
#3F137D #5A1BB2 #762BDF #9860E7 #BB95EF

Accessibility & contrast

On white

6.60
#762BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#762BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #762BDF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762BDF#FFFFFF#000000##FFFFFF
##762BDF1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE4
Deuteranopia (green-blind)
#005ADC
Tritanopia (blue-blind)
#566087
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #762bdf;
/* rgb */ color: rgb(118, 43, 223);
/* oklch */ color: oklch(50.8% 0.245 294.6);
Tailwind
colors: {
  custom: {
    50: '#a86fea',
    500: '#762bdf',
    950: '#000000',
  },
}
SCSS
$custom: #762bdf;
$custom-light: #a86fea;
$custom-dark: #000000;
JSON
{
  "hex": "#762bdf",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 223
  },
  "hsl": {
    "h": 265,
    "s": 73.77,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50839,
    "c": 0.24523,
    "h": 294.6
  },
  "luminance": 0.10907
}

Semantic roles & 50–950 ramp

primary
#762BDF
secondary
#B9DA8C
accent
#F037A3
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #762BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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