#762CBF#762CBF

#762CBF is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.213 H 301.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#762CBF
RGBrgb(118, 44, 191)
HSLhsl(270, 63%, 46%)
HSVhsv(270, 77%, 75%)
CMYKcmyk(38.2%, 77%, 0%, 25.1%)
CIE-LABlab(36.77, 58.47, -63.48)
CIE-LCHlch(36.77, 86.30, 312.64°)
OKLaboklab(48.14% 0.111 -0.1813)
OKLCHoklch(48.14% 0.213 301.5)
XYZxyz(17.7736, 9.4144, 50.1609)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CBF #75BF2C
analogous
#2C2CBF #762CBF #BF2CBE
triadic
#762CBF #BF762C #2CBF76
tetradic
#762CBF #BF2C2C #75BF2C #2CBEBF
square
#762CBF #BF2C2C #75BF2C #2CBEBF
split-complementary
#762CBF #BEBF2C #2CBF2C
monochromatic
#39155C #57218D #762CBF #9551D7 #B383E2

Accessibility & contrast

On white

7.28
#762CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#762CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CBF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CBF#FFFFFF#000000##FFFFFF
##762CBF1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#665375
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #762cbf;
/* rgb */ color: rgb(118, 44, 191);
/* oklch */ color: oklch(48.1% 0.213 301.5);
Tailwind
colors: {
  custom: {
    50: '#a46dd3',
    500: '#762cbf',
    950: '#000000',
  },
}
SCSS
$custom: #762cbf;
$custom-light: #a46dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#762cbf",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 270.204,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48143,
    "c": 0.21253,
    "h": 301.5
  },
  "luminance": 0.09415
}

Semantic roles & 50–950 ramp

primary
#762CBF
secondary
#A3CC7B
accent
#E64293
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #762CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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