#762BB6#762BB6

#762BB6 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.205 H 303.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#762BB6
RGBrgb(118, 43, 182)
HSLhsl(272, 62%, 44%)
HSVhsv(272, 76%, 71%)
CMYKcmyk(35.2%, 76.4%, 0%, 28.6%)
CIE-LABlab(35.90, 56.76, -59.59)
CIE-LCHlch(35.90, 82.30, 313.61°)
OKLaboklab(47.31% 0.114 -0.1698)
OKLCHoklch(47.31% 0.205 303.9)
XYZxyz(16.7766, 8.9567, 45.0919)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762BB6 #6BB62B
analogous
#302BB6 #762BB6 #B62BB1
triadic
#762BB6 #B6762B #2BB676
tetradic
#762BB6 #B6302B #6BB62B #2BB1B6
square
#762BB6 #B6302B #6BB62B #2BB1B6
split-complementary
#762BB6 #B1B62B #2BB630
monochromatic
#361453 #561F84 #762BB6 #954AD4 #B27BE0

Accessibility & contrast

On white

7.52
#762BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762BB6
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762BB6#FFFFFF#000000##FFFFFF
##762BB61.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#694F6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762bb6;
/* rgb */ color: rgb(118, 43, 182);
/* oklch */ color: oklch(47.3% 0.205 303.9);
Tailwind
colors: {
  custom: {
    50: '#a36dcd',
    500: '#762bb6',
    950: '#000000',
  },
}
SCSS
$custom: #762bb6;
$custom-light: #a36dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#762bb6",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 272.374,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47307,
    "c": 0.20454,
    "h": 303.9
  },
  "luminance": 0.08957
}

Semantic roles & 50–950 ramp

primary
#762BB6
secondary
#9BC875
accent
#E5438D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #762BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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