#B362F8#B362F8

#B362F8 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.6% C 0.219 H 306.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B362F8
RGBrgb(179, 98, 248)
HSLhsl(272, 91%, 68%)
HSVhsv(272, 60%, 97%)
CMYKcmyk(27.8%, 60.5%, 0%, 2.7%)
CIE-LABlab(57.17, 58.99, -62.60)
CIE-LCHlch(57.17, 86.02, 313.30°)
OKLaboklab(65.61% 0.1292 -0.1769)
OKLCHoklch(65.61% 0.219 306.1)
XYZxyz(39.8977, 25.0967, 91.5310)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B362F8 #A7F862
analogous
#6862F8 #B362F8 #F862F2
triadic
#B362F8 #F8B362 #62F8B3
tetradic
#B362F8 #F86862 #A7F862 #62F2F8
square
#B362F8 #F86862 #A7F862 #62F2F8
split-complementary
#B362F8 #F2F862 #62F868
monochromatic
#780AD6 #9727F5 #B362F8 #CF9DFB #ECD7FD

Accessibility & contrast

On white

3.49
#B362F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#B362F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B362F8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B362F8#FFFFFF#000000##000000
##B362F81.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F87FD
Deuteranopia (green-blind)
#438AF5
Tritanopia (blue-blind)
#A780A4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b362f8;
/* rgb */ color: rgb(179, 98, 248);
/* oklch */ color: oklch(65.6% 0.219 306.1);
Tailwind
colors: {
  custom: {
    50: '#ce92fb',
    500: '#b362f8',
    950: '#000000',
  },
}
SCSS
$custom: #b362f8;
$custom-light: #ce92fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b362f8",
  "rgb": {
    "r": 179,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 272.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65614,
    "c": 0.21907,
    "h": 306.1
  },
  "luminance": 0.25096
}

Semantic roles & 50–950 ramp

primary
#B362F8
secondary
#D9F2C4
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B362F8

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

Preview Lab → · Contrast checker → · Palette generator →

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