#762FBC#762FBC

#762FBC is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.206 H 301.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#762FBC
RGBrgb(118, 47, 188)
HSLhsl(270, 60%, 46%)
HSVhsv(270, 75%, 74%)
CMYKcmyk(37.2%, 75%, 0%, 26.3%)
CIE-LABlab(36.96, 56.52, -61.41)
CIE-LCHlch(36.96, 83.46, 312.62°)
OKLaboklab(48.2% 0.1091 -0.1752)
OKLCHoklch(48.2% 0.206 301.9)
XYZxyz(17.5626, 9.5153, 48.4786)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FBC #75BC2F
analogous
#302FBC #762FBC #BC2FBB
triadic
#762FBC #BC762F #2FBC76
tetradic
#762FBC #BC302F #75BC2F #2FBBBC
square
#762FBC #BC302F #75BC2F #2FBBBC
split-complementary
#762FBC #BBBC2F #2FBC30
monochromatic
#39175A #57238B #762FBC #9554D4 #B385E0

Accessibility & contrast

On white

7.23
#762FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#762FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762FBC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FBC#FFFFFF#000000##FFFFFF
##762FBC1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#675374
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #762fbc;
/* rgb */ color: rgb(118, 47, 188);
/* oklch */ color: oklch(48.2% 0.206 301.9);
Tailwind
colors: {
  custom: {
    50: '#a46fd1',
    500: '#762fbc',
    950: '#000000',
  },
}
SCSS
$custom: #762fbc;
$custom-light: #a46fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#762fbc",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 270.213,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48199,
    "c": 0.20639,
    "h": 301.9
  },
  "luminance": 0.09515
}

Semantic roles & 50–950 ramp

primary
#762FBC
secondary
#A3CA7D
accent
#E34593
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #762FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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