#762DBC#762DBC

#762DBC is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.208 H 302.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#762DBC
RGBrgb(118, 45, 188)
HSLhsl(271, 61%, 46%)
HSVhsv(271, 76%, 74%)
CMYKcmyk(37.2%, 76.1%, 0%, 26.3%)
CIE-LABlab(36.67, 57.35, -61.89)
CIE-LCHlch(36.67, 84.38, 312.82°)
OKLaboklab(47.99% 0.1108 -0.1766)
OKLCHoklch(47.99% 0.208 302.1)
XYZxyz(17.4845, 9.3591, 48.4525)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762DBC #73BC2D
analogous
#2E2DBC #762DBC #BC2DBA
triadic
#762DBC #BC762D #2DBC76
tetradic
#762DBC #BC2E2D #73BC2D #2DBABC
square
#762DBC #BC2E2D #73BC2D #2DBABC
split-complementary
#762DBC #BABC2D #2DBC2E
monochromatic
#381559 #57218B #762DBC #9451D5 #B382E1

Accessibility & contrast

On white

7.31
#762DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#762DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762DBC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762DBC#FFFFFF#000000##FFFFFF
##762DBC1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#675273
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #762dbc;
/* rgb */ color: rgb(118, 45, 188);
/* oklch */ color: oklch(48.0% 0.208 302.1);
Tailwind
colors: {
  custom: {
    50: '#a46ed1',
    500: '#762dbc',
    950: '#000000',
  },
}
SCSS
$custom: #762dbc;
$custom-light: #a46ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#762dbc",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 270.629,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47994,
    "c": 0.20849,
    "h": 302.1
  },
  "luminance": 0.09359
}

Semantic roles & 50–950 ramp

primary
#762DBC
secondary
#A2CA7B
accent
#E44392
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #762DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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