#762BB1#762BB1

#762BB1 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.200 H 305.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#762BB1
RGBrgb(118, 43, 177)
HSLhsl(274, 61%, 43%)
HSVhsv(274, 76%, 69%)
CMYKcmyk(33.3%, 75.7%, 0%, 30.6%)
CIE-LABlab(35.51, 55.61, -57.27)
CIE-LCHlch(35.51, 79.82, 314.16°)
OKLaboklab(46.91% 0.1151 -0.163)
OKLCHoklch(46.91% 0.2 305.2)
XYZxyz(16.2691, 8.7537, 42.4190)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762BB1 #66B12B
analogous
#332BB1 #762BB1 #B12BA9
triadic
#762BB1 #B1762B #2BB176
tetradic
#762BB1 #B1332B #66B12B #2BA9B1
square
#762BB1 #B1332B #66B12B #2BA9B1
split-complementary
#762BB1 #A9B12B #2BB133
monochromatic
#34134F #551F80 #762BB1 #9547D2 #B178DE

Accessibility & contrast

On white

7.63
#762BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#762BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762BB1
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762BB1#FFFFFF#000000##FFFFFF
##762BB11.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#6B4C6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #762bb1;
/* rgb */ color: rgb(118, 43, 177);
/* oklch */ color: oklch(46.9% 0.200 305.2);
Tailwind
colors: {
  custom: {
    50: '#a36cc9',
    500: '#762bb1',
    950: '#000000',
  },
}
SCSS
$custom: #762bb1;
$custom-light: #a36cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#762bb1",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 273.582,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46906,
    "c": 0.19956,
    "h": 305.2
  },
  "luminance": 0.08754
}

Semantic roles & 50–950 ramp

primary
#762BB1
secondary
#97C672
accent
#E4448A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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