#762CBB#762CBB

#762CBB is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.209 H 302.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#762CBB
RGBrgb(118, 44, 187)
HSLhsl(271, 62%, 45%)
HSVhsv(271, 76%, 73%)
CMYKcmyk(36.9%, 76.5%, 0%, 26.7%)
CIE-LABlab(36.44, 57.53, -61.66)
CIE-LCHlch(36.44, 84.33, 313.01°)
OKLaboklab(47.81% 0.1119 -0.1759)
OKLCHoklch(47.81% 0.209 302.5)
XYZxyz(17.3394, 9.2407, 47.8742)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CBB #71BB2C
analogous
#2E2CBB #762CBB #BB2CB8
triadic
#762CBB #BB762C #2CBB76
tetradic
#762CBB #BB2E2C #71BB2C #2CB8BB
square
#762CBB #BB2E2C #71BB2C #2CB8BB
split-complementary
#762CBB #B8BB2C #2CBB2E
monochromatic
#371558 #572089 #762CBB #944FD6 #B280E1

Accessibility & contrast

On white

7.37
#762CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#762CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CBB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CBB#FFFFFF#000000##FFFFFF
##762CBB1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#675172
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #762cbb;
/* rgb */ color: rgb(118, 44, 187);
/* oklch */ color: oklch(47.8% 0.209 302.5);
Tailwind
colors: {
  custom: {
    50: '#a46dd0',
    500: '#762cbb',
    950: '#000000',
  },
}
SCSS
$custom: #762cbb;
$custom-light: #a46dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#762cbb",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 271.049,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47813,
    "c": 0.20851,
    "h": 302.5
  },
  "luminance": 0.09241
}

Semantic roles & 50–950 ramp

primary
#762CBB
secondary
#A0CA79
accent
#E54391
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #762CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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