#762BB5#762BB5

#762BB5 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.204 H 304.1°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#762BB5
RGBrgb(118, 43, 181)
HSLhsl(273, 62%, 44%)
HSVhsv(273, 76%, 71%)
CMYKcmyk(34.8%, 76.2%, 0%, 29%)
CIE-LABlab(35.82, 56.53, -59.13)
CIE-LCHlch(35.82, 81.81, 313.71°)
OKLaboklab(47.23% 0.1142 -0.1685)
OKLCHoklch(47.23% 0.204 304.1)
XYZxyz(16.6737, 8.9156, 44.5496)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762BB5 #6AB52B
analogous
#312BB5 #762BB5 #B52BAF
triadic
#762BB5 #B5762B #2BB576
tetradic
#762BB5 #B5312B #6AB52B #2BAFB5
square
#762BB5 #B5312B #6AB52B #2BAFB5
split-complementary
#762BB5 #AFB52B #2BB531
monochromatic
#361452 #561F84 #762BB5 #9549D4 #B27BE0

Accessibility & contrast

On white

7.55
#762BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#762BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762BB5
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762BB5#FFFFFF#000000##FFFFFF
##762BB51.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#6A4E6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762bb5;
/* rgb */ color: rgb(118, 43, 181);
/* oklch */ color: oklch(47.2% 0.204 304.1);
Tailwind
colors: {
  custom: {
    50: '#a36ccc',
    500: '#762bb5',
    950: '#000000',
  },
}
SCSS
$custom: #762bb5;
$custom-light: #a36ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#762bb5",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 272.609,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47226,
    "c": 0.20355,
    "h": 304.1
  },
  "luminance": 0.08916
}

Semantic roles & 50–950 ramp

primary
#762BB5
secondary
#9AC874
accent
#E5438D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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