#B762EC#B762EC

#B762EC is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.3% C 0.208 H 310.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B762EC
RGBrgb(183, 98, 236)
HSLhsl(277, 78%, 65%)
HSVhsv(277, 58%, 93%)
CMYKcmyk(22.5%, 58.5%, 0%, 7.5%)
CIE-LABlab(56.94, 57.26, -56.27)
CIE-LCHlch(56.94, 80.28, 315.50°)
OKLaboklab(65.32% 0.1343 -0.1583)
OKLCHoklch(65.32% 0.208 310.3)
XYZxyz(39.0336, 24.8595, 82.0827)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B762EC #97EC62
analogous
#7262EC #B762EC #EC62DC
triadic
#B762EC #ECB762 #62ECB7
tetradic
#B762EC #EC7262 #97EC62 #62DCEC
square
#B762EC #EC7262 #97EC62 #62DCEC
split-complementary
#B762EC #DCEC62 #62EC72
monochromatic
#7D17BD #9E2BE5 #B762EC #D099F3 #E9CFF9

Accessibility & contrast

On white

3.52
#B762EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#B762EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B762EC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B762EC#FFFFFF#000000##000000
##B762EC1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F85F0
Deuteranopia (green-blind)
#548AE9
Tritanopia (blue-blind)
#B07C9E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b762ec;
/* rgb */ color: rgb(183, 98, 236);
/* oklch */ color: oklch(65.3% 0.208 310.3);
Tailwind
colors: {
  custom: {
    50: '#d092f3',
    500: '#b762ec',
    950: '#000000',
  },
}
SCSS
$custom: #b762ec;
$custom-light: #d092f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b762ec",
  "rgb": {
    "r": 183,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 276.957,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65323,
    "c": 0.20754,
    "h": 310.3
  },
  "luminance": 0.24859
}

Semantic roles & 50–950 ramp

primary
#B762EC
secondary
#D0ECBE
accent
#DB0B5B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B762EC

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

Preview Lab → · Contrast checker → · Palette generator →

#B762EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva