#B362EA#B362EA

#B362EA is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.8% C 0.204 H 309.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B362EA
RGBrgb(179, 98, 234)
HSLhsl(276, 76%, 65%)
HSVhsv(276, 58%, 92%)
CMYKcmyk(23.5%, 58.1%, 0%, 8.2%)
CIE-LABlab(56.35, 55.87, -56.12)
CIE-LCHlch(56.35, 79.19, 314.87°)
OKLaboklab(64.75% 0.1293 -0.1579)
OKLCHoklch(64.75% 0.204 309.3)
XYZxyz(37.8065, 24.2602, 80.5170)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B362EA #99EA62
analogous
#6F62EA #B362EA #EA62DD
triadic
#B362EA #EAB362 #62EAB3
tetradic
#B362EA #EA6F62 #99EA62 #62DDEA
square
#B362EA #EA6F62 #99EA62 #62DDEA
split-complementary
#B362EA #DDEA62 #62EA6F
monochromatic
#7819B9 #992CE3 #B362EA #CD98F1 #E7CEF8

Accessibility & contrast

On white

3.59
#B362EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#B362EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B362EA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B362EA#FFFFFF#000000##000000
##B362EA1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EE
Deuteranopia (green-blind)
#5188E7
Tritanopia (blue-blind)
#AB7B9D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b362ea;
/* rgb */ color: rgb(179, 98, 234);
/* oklch */ color: oklch(64.8% 0.204 309.3);
Tailwind
colors: {
  custom: {
    50: '#cd92f1',
    500: '#b362ea',
    950: '#000000',
  },
}
SCSS
$custom: #b362ea;
$custom-light: #cd92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b362ea",
  "rgb": {
    "r": 179,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 275.735,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64752,
    "c": 0.20414,
    "h": 309.3
  },
  "luminance": 0.2426
}

Semantic roles & 50–950 ramp

primary
#B362EA
secondary
#CFEBBD
accent
#D90D5F
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B362EA

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

Preview Lab → · Contrast checker → · Palette generator →

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