#762BC2#762BC2

#762BC2 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.216 H 300.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#762BC2
RGBrgb(118, 43, 194)
HSLhsl(270, 64%, 46%)
HSVhsv(270, 78%, 76%)
CMYKcmyk(39.2%, 77.8%, 0%, 23.9%)
CIE-LABlab(36.88, 59.57, -65.06)
CIE-LCHlch(36.88, 88.21, 312.48°)
OKLaboklab(48.3% 0.111 -0.1859)
OKLCHoklch(48.3% 0.217 300.8)
XYZxyz(18.0703, 9.4742, 51.9052)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762BC2 #77C22B
analogous
#2B2CC2 #762BC2 #C22BC2
triadic
#762BC2 #C2762B #2BC276
tetradic
#762BC2 #C22B2C #77C22B #2BC2C2
square
#762BC2 #C22B2C #77C22B #2BC2C2
split-complementary
#762BC2 #C2C22B #2CC22B
monochromatic
#39155E #582090 #762BC2 #9552D9 #B384E4

Accessibility & contrast

On white

7.25
#762BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#762BC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762BC2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762BC2#FFFFFF#000000##FFFFFF
##762BC21.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#655476
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #762bc2;
/* rgb */ color: rgb(118, 43, 194);
/* oklch */ color: oklch(48.3% 0.216 300.8);
Tailwind
colors: {
  custom: {
    50: '#a46dd6',
    500: '#762bc2',
    950: '#000000',
  },
}
SCSS
$custom: #762bc2;
$custom-light: #a46dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#762bc2",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 269.801,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48298,
    "c": 0.2165,
    "h": 300.8
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#762BC2
secondary
#A5CD7C
accent
#E74194
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #762BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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