#B762FA#B762FA

#B762FA is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.2% C 0.222 H 307.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B762FA
RGBrgb(183, 98, 250)
HSLhsl(274, 94%, 68%)
HSVhsv(274, 61%, 98%)
CMYKcmyk(26.8%, 60.8%, 0%, 2%)
CIE-LABlab(57.76, 60.33, -62.74)
CIE-LCHlch(57.76, 87.04, 313.88°)
OKLaboklab(66.18% 0.1341 -0.1772)
OKLCHoklch(66.18% 0.222 307.1)
XYZxyz(41.1478, 25.7053, 93.2179)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B762FA #A5FA62
analogous
#6B62FA #B762FA #FA62F1
triadic
#B762FA #FAB762 #62FAB7
tetradic
#B762FA #FA6B62 #A5FA62 #62F1FA
square
#B762FA #FA6B62 #A5FA62 #62F1FA
split-complementary
#B762FA #F1FA62 #62FA6B
monochromatic
#7D07DB #9C27F8 #B762FA #D29DFC #EDD9FE

Accessibility & contrast

On white

3.42
#B762FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#B762FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B762FA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B762FA#FFFFFF#000000##000000
##B762FA1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F88FF
Deuteranopia (green-blind)
#468BF7
Tritanopia (blue-blind)
#AC80A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b762fa;
/* rgb */ color: rgb(183, 98, 250);
/* oklch */ color: oklch(66.2% 0.222 307.1);
Tailwind
colors: {
  custom: {
    50: '#d193fd',
    500: '#b762fa',
    950: '#000000',
  },
}
SCSS
$custom: #b762fa;
$custom-light: #d193fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b762fa",
  "rgb": {
    "r": 183,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 273.553,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66181,
    "c": 0.22225,
    "h": 307.1
  },
  "luminance": 0.25705
}

Semantic roles & 50–950 ramp

primary
#B762FA
secondary
#D9F3C5
accent
#E60065
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B762FA

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

Preview Lab → · Contrast checker → · Palette generator →

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