#B362FD#B362FD

#B362FD is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.9% C 0.224 H 305.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B362FD
RGBrgb(179, 98, 253)
HSLhsl(271, 97%, 69%)
HSVhsv(271, 61%, 99%)
CMYKcmyk(29.2%, 61.3%, 0%, 0.8%)
CIE-LABlab(57.47, 60.12, -64.88)
CIE-LCHlch(57.47, 88.45, 312.82°)
OKLaboklab(65.93% 0.129 -0.1836)
OKLCHoklch(65.93% 0.224 305.1)
XYZxyz(40.6838, 25.4112, 95.6710)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B362FD #ACFD62
analogous
#6662FD #B362FD #FD62F9
triadic
#B362FD #FDB362 #62FDB3
tetradic
#B362FD #FD6662 #ACFD62 #62F9FD
square
#B362FD #FD6662 #ACFD62 #62F9FD
split-complementary
#B362FD #F9FD62 #62FD66
monochromatic
#7703E2 #9626FC #B362FD #D09EFE #EEDBFF

Accessibility & contrast

On white

3.45
#B362FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#B362FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B362FD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B362FD#FFFFFF#000000##000000
##B362FD1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#3D8AF9
Tritanopia (blue-blind)
#A682A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b362fd;
/* rgb */ color: rgb(179, 98, 253);
/* oklch */ color: oklch(65.9% 0.224 305.1);
Tailwind
colors: {
  custom: {
    50: '#ce93ff',
    500: '#b362fd',
    950: '#000000',
  },
}
SCSS
$custom: #b362fd;
$custom-light: #ce93ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b362fd",
  "rgb": {
    "r": 179,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 271.355,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65932,
    "c": 0.22441,
    "h": 305.1
  },
  "luminance": 0.25411
}

Semantic roles & 50–950 ramp

primary
#B362FD
secondary
#DCF4C6
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B362FD

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

Preview Lab → · Contrast checker → · Palette generator →

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