#B165F8#B165F8

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

Color values

HEX#B165F8
RGBrgb(177, 101, 248)
HSLhsl(271, 91%, 68%)
HSVhsv(271, 59%, 97%)
CMYKcmyk(28.6%, 59.3%, 0%, 2.7%)
CIE-LABlab(57.49, 57.05, -62.09)
CIE-LCHlch(57.49, 84.32, 312.58°)
OKLaboklab(65.8% 0.1232 -0.1755)
OKLCHoklch(65.8% 0.214 305.1)
XYZxyz(39.7247, 25.4320, 91.6048)
Luminance0.2543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B165F8 #ACF865
analogous
#6765F8 #B165F8 #F865F6
triadic
#B165F8 #F8B165 #65F8B1
tetradic
#B165F8 #F86765 #ACF865 #65F6F8
square
#B165F8 #F86765 #ACF865 #65F6F8
split-complementary
#B165F8 #F6F865 #65F867
monochromatic
#750AD9 #932AF5 #B165F8 #CFA0FB #ECDAFD

Accessibility & contrast

On white

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

On black

6.09
#B165F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B165F8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B165F8#FFFFFF#000000##000000
##B165F81.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C88FD
Deuteranopia (green-blind)
#458AF5
Tritanopia (blue-blind)
#A583A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b165f8;
/* rgb */ color: rgb(177, 101, 248);
/* oklch */ color: oklch(65.8% 0.214 305.1);
Tailwind
colors: {
  custom: {
    50: '#cc94fb',
    500: '#b165f8',
    950: '#000000',
  },
}
SCSS
$custom: #b165f8;
$custom-light: #cc94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b165f8",
  "rgb": {
    "r": 177,
    "g": 101,
    "b": 248
  },
  "hsl": {
    "h": 271.02,
    "s": 91.304,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65799,
    "c": 0.21442,
    "h": 305.1
  },
  "luminance": 0.25432
}

Semantic roles & 50–950 ramp

primary
#B165F8
secondary
#DCF3C6
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B165F8

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

Preview Lab → · Contrast checker → · Palette generator →

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