#762FBB#762FBB

#762FBB is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.205 H 302.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#762FBB
RGBrgb(118, 47, 187)
HSLhsl(270, 60%, 46%)
HSVhsv(270, 75%, 73%)
CMYKcmyk(36.9%, 74.9%, 0%, 26.7%)
CIE-LABlab(36.88, 56.28, -60.95)
CIE-LCHlch(36.88, 82.96, 312.72°)
OKLaboklab(48.12% 0.1093 -0.1739)
OKLCHoklch(48.12% 0.205 302.2)
XYZxyz(17.4552, 9.4724, 47.9128)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FBB #74BB2F
analogous
#302FBB #762FBB #BB2FBA
triadic
#762FBB #BB762F #2FBB76
tetradic
#762FBB #BB302F #74BB2F #2FBABB
square
#762FBB #BB302F #74BB2F #2FBABB
split-complementary
#762FBB #BABB2F #2FBB30
monochromatic
#381659 #57238A #762FBB #9553D4 #B384E0

Accessibility & contrast

On white

7.26
#762FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762FBB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FBB#FFFFFF#000000##FFFFFF
##762FBB1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762fbb;
/* rgb */ color: rgb(118, 47, 187);
/* oklch */ color: oklch(48.1% 0.205 302.2);
Tailwind
colors: {
  custom: {
    50: '#a46fd0',
    500: '#762fbb',
    950: '#000000',
  },
}
SCSS
$custom: #762fbb;
$custom-light: #a46fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#762fbb",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 270.429,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48118,
    "c": 0.20537,
    "h": 302.2
  },
  "luminance": 0.09472
}

Semantic roles & 50–950 ramp

primary
#762FBB
secondary
#A2C97C
accent
#E34593
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #762FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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