#762BB2#762BB2

#762BB2 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.201 H 305.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#762BB2
RGBrgb(118, 43, 178)
HSLhsl(273, 61%, 43%)
HSVhsv(273, 76%, 70%)
CMYKcmyk(33.7%, 75.8%, 0%, 30.2%)
CIE-LABlab(35.58, 55.84, -57.73)
CIE-LCHlch(35.58, 80.32, 314.04°)
OKLaboklab(46.99% 0.1149 -0.1644)
OKLCHoklch(46.99% 0.201 305)
XYZxyz(16.3692, 8.7938, 42.9459)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762BB2 #67B22B
analogous
#322BB2 #762BB2 #B22BAA
triadic
#762BB2 #B2762B #2BB276
tetradic
#762BB2 #B2322B #67B22B #2BAAB2
square
#762BB2 #B2322B #67B22B #2BAAB2
split-complementary
#762BB2 #AAB22B #2BB232
monochromatic
#35134F #551F81 #762BB2 #9548D3 #B179DF

Accessibility & contrast

On white

7.61
#762BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#762BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762BB2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762BB2#FFFFFF#000000##FFFFFF
##762BB21.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#6B4D6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762bb2;
/* rgb */ color: rgb(118, 43, 178);
/* oklch */ color: oklch(47.0% 0.201 305.0);
Tailwind
colors: {
  custom: {
    50: '#a36cca',
    500: '#762bb2',
    950: '#000000',
  },
}
SCSS
$custom: #762bb2;
$custom-light: #a36cca;
$custom-dark: #000000;
JSON
{
  "hex": "#762bb2",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 273.333,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46985,
    "c": 0.20055,
    "h": 305
  },
  "luminance": 0.08794
}

Semantic roles & 50–950 ramp

primary
#762BB2
secondary
#98C772
accent
#E4448B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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