#762DB2#762DB2

#762DB2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.2% C 0.198 H 304.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#762DB2
RGBrgb(118, 45, 178)
HSLhsl(273, 60%, 44%)
HSVhsv(273, 75%, 70%)
CMYKcmyk(33.7%, 74.7%, 0%, 30.2%)
CIE-LABlab(35.87, 55.01, -57.26)
CIE-LCHlch(35.87, 79.41, 313.85°)
OKLaboklab(47.19% 0.1131 -0.163)
OKLCHoklch(47.19% 0.198 304.8)
XYZxyz(16.4437, 8.9428, 42.9707)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762DB2 #69B22D
analogous
#332DB2 #762DB2 #B22DAB
triadic
#762DB2 #B2762D #2DB276
tetradic
#762DB2 #B2332D #69B22D #2DABB2
square
#762DB2 #B2332D #69B22D #2DABB2
split-complementary
#762DB2 #ABB22D #2DB233
monochromatic
#351450 #562181 #762DB2 #954BD1 #B17CDE

Accessibility & contrast

On white

7.53
#762DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#762DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762DB2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762DB2#FFFFFF#000000##FFFFFF
##762DB21.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#6B4E6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762db2;
/* rgb */ color: rgb(118, 45, 178);
/* oklch */ color: oklch(47.2% 0.198 304.8);
Tailwind
colors: {
  custom: {
    50: '#a36dca',
    500: '#762db2',
    950: '#000000',
  },
}
SCSS
$custom: #762db2;
$custom-light: #a36dca;
$custom-dark: #000000;
JSON
{
  "hex": "#762db2",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 272.932,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47189,
    "c": 0.19838,
    "h": 304.8
  },
  "luminance": 0.08943
}

Semantic roles & 50–950 ramp

primary
#762DB2
secondary
#99C675
accent
#E3458C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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