#B362DC#B362DC

#B362DC is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.9% C 0.189 H 312.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B362DC
RGBrgb(179, 98, 220)
HSLhsl(280, 64%, 62%)
HSVhsv(280, 55%, 86%)
CMYKcmyk(18.6%, 55.5%, 0%, 13.7%)
CIE-LABlab(55.57, 52.85, -49.50)
CIE-LCHlch(55.57, 72.41, 316.88°)
OKLaboklab(63.93% 0.1289 -0.1386)
OKLCHoklch(63.93% 0.189 312.9)
XYZxyz(35.8741, 23.4873, 70.3400)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B362DC #8BDC62
analogous
#7662DC #B362DC #DC62C8
triadic
#B362DC #DCB362 #62DCB3
tetradic
#B362DC #DC7662 #8BDC62 #62C8DC
square
#B362DC #DC7662 #8BDC62 #62C8DC
split-complementary
#B362DC #C8DC62 #62DC76
monochromatic
#7624A0 #9B30D1 #B362DC #CB94E7 #E3C6F2

Accessibility & contrast

On white

3.69
#B362DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#B362DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B362DC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B362DC#FFFFFF#000000##000000
##B362DC1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081E0
Deuteranopia (green-blind)
#5C87D9
Tritanopia (blue-blind)
#AF7796
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b362dc;
/* rgb */ color: rgb(179, 98, 220);
/* oklch */ color: oklch(63.9% 0.189 312.9);
Tailwind
colors: {
  custom: {
    50: '#cc92e7',
    500: '#b362dc',
    950: '#000000',
  },
}
SCSS
$custom: #b362dc;
$custom-light: #cc92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b362dc",
  "rgb": {
    "r": 179,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 279.836,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63932,
    "c": 0.18924,
    "h": 312.9
  },
  "luminance": 0.23486
}

Semantic roles & 50–950 ramp

primary
#B362DC
secondary
#C6E3B7
accent
#CB1A56
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B362DC

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

Preview Lab → · Contrast checker → · Palette generator →

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