#B165D8#B165D8

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

Color values

HEX#B165D8
RGBrgb(177, 101, 216)
HSLhsl(280, 60%, 62%)
HSVhsv(280, 53%, 85%)
CMYKcmyk(18.1%, 53.2%, 0%, 15.3%)
CIE-LABlab(55.70, 49.94, -47.05)
CIE-LCHlch(55.70, 68.61, 316.71°)
OKLaboklab(63.91% 0.1223 -0.1315)
OKLCHoklch(63.91% 0.18 312.9)
XYZxyz(35.1777, 23.6132, 67.6571)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B165D8 #8CD865
analogous
#7865D8 #B165D8 #D865C6
triadic
#B165D8 #D8B165 #65D8B1
tetradic
#B165D8 #D87865 #8CD865 #65C6D8
square
#B165D8 #D87865 #8CD865 #65C6D8
split-complementary
#B165D8 #C6D865 #65D878
monochromatic
#74279B #9834CC #B165D8 #CA96E4 #E2C7F1

Accessibility & contrast

On white

3.67
#B165D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#B165D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B165D8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B165D8#FFFFFF#000000##000000
##B165D81.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4781DC
Deuteranopia (green-blind)
#6087D5
Tritanopia (blue-blind)
#AD7895
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b165d8;
/* rgb */ color: rgb(177, 101, 216);
/* oklch */ color: oklch(63.9% 0.180 312.9);
Tailwind
colors: {
  custom: {
    50: '#cb94e4',
    500: '#b165d8',
    950: '#000000',
  },
}
SCSS
$custom: #b165d8;
$custom-light: #cb94e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b165d8",
  "rgb": {
    "r": 177,
    "g": 101,
    "b": 216
  },
  "hsl": {
    "h": 279.652,
    "s": 59.585,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63905,
    "c": 0.17956,
    "h": 312.9
  },
  "luminance": 0.23612
}

Semantic roles & 50–950 ramp

primary
#B165D8
secondary
#C6E2B7
accent
#C71E58
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B165D8

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

Preview Lab → · Contrast checker → · Palette generator →

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