#762BB4#762BB4

#762BB4 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.203 H 304.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#762BB4
RGBrgb(118, 43, 180)
HSLhsl(273, 61%, 44%)
HSVhsv(273, 76%, 71%)
CMYKcmyk(34.4%, 76.1%, 0%, 29.4%)
CIE-LABlab(35.74, 56.30, -58.67)
CIE-LCHlch(35.74, 81.31, 313.82°)
OKLaboklab(47.15% 0.1145 -0.1671)
OKLCHoklch(47.15% 0.203 304.4)
XYZxyz(16.5714, 8.8747, 44.0111)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762BB4 #69B42B
analogous
#322BB4 #762BB4 #B42BAD
triadic
#762BB4 #B4762B #2BB476
tetradic
#762BB4 #B4322B #69B42B #2BADB4
square
#762BB4 #B4322B #69B42B #2BADB4
split-complementary
#762BB4 #ADB42B #2BB432
monochromatic
#351351 #561F83 #762BB4 #9549D3 #B17ADF

Accessibility & contrast

On white

7.57
#762BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#762BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762BB4
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762BB4#FFFFFF#000000##FFFFFF
##762BB41.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#6A4E6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762bb4;
/* rgb */ color: rgb(118, 43, 180);
/* oklch */ color: oklch(47.1% 0.203 304.4);
Tailwind
colors: {
  custom: {
    50: '#a36ccb',
    500: '#762bb4',
    950: '#000000',
  },
}
SCSS
$custom: #762bb4;
$custom-light: #a36ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#762bb4",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 272.847,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47145,
    "c": 0.20256,
    "h": 304.4
  },
  "luminance": 0.08875
}

Semantic roles & 50–950 ramp

primary
#762BB4
secondary
#99C773
accent
#E5438C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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