#762DC0#762DC0

#762DC0 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.213 H 301.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#762DC0
RGBrgb(118, 45, 192)
HSLhsl(270, 62%, 46%)
HSVhsv(270, 77%, 75%)
CMYKcmyk(38.5%, 76.6%, 0%, 24.7%)
CIE-LABlab(36.99, 58.30, -63.71)
CIE-LCHlch(36.99, 86.35, 312.46°)
OKLaboklab(48.32% 0.1099 -0.1819)
OKLCHoklch(48.32% 0.213 301.1)
XYZxyz(17.9217, 9.5340, 50.7550)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762DC0 #77C02D
analogous
#2D2EC0 #762DC0 #C02DC0
triadic
#762DC0 #C0762D #2DC076
tetradic
#762DC0 #C02D2E #77C02D #2DC0C0
square
#762DC0 #C02D2E #77C02D #2DC0C0
split-complementary
#762DC0 #C0C02D #2EC02D
monochromatic
#39165D #58218E #762DC0 #9553D7 #B385E2

Accessibility & contrast

On white

7.22
#762DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#762DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762DC0
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762DC0#FFFFFF#000000##FFFFFF
##762DC01.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#655475
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #762dc0;
/* rgb */ color: rgb(118, 45, 192);
/* oklch */ color: oklch(48.3% 0.213 301.1);
Tailwind
colors: {
  custom: {
    50: '#a46ed4',
    500: '#762dc0',
    950: '#000000',
  },
}
SCSS
$custom: #762dc0;
$custom-light: #a46ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#762dc0",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 269.796,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48324,
    "c": 0.21253,
    "h": 301.1
  },
  "luminance": 0.09534
}

Semantic roles & 50–950 ramp

primary
#762DC0
secondary
#A5CC7D
accent
#E54394
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #762DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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