#B165DD#B165DD

#B165DD is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.2% C 0.185 H 311.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B165DD
RGBrgb(177, 101, 221)
HSLhsl(278, 64%, 63%)
HSVhsv(278, 54%, 87%)
CMYKcmyk(19.9%, 54.3%, 0%, 13.3%)
CIE-LABlab(55.96, 51.02, -49.45)
CIE-LCHlch(55.96, 71.05, 315.90°)
OKLaboklab(64.19% 0.1226 -0.1385)
OKLCHoklch(64.19% 0.185 311.5)
XYZxyz(35.8339, 23.8757, 71.1134)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B165DD #91DD65
analogous
#7565DD #B165DD #DD65CD
triadic
#B165DD #DDB165 #65DDB1
tetradic
#B165DD #DD7565 #91DD65 #65CDDD
square
#B165DD #DD7565 #91DD65 #65CDDD
split-complementary
#B165DD #CDDD65 #65DD75
monochromatic
#7524A4 #9833D2 #B165DD #CA97E8 #E4C9F3

Accessibility & contrast

On white

3.64
#B165DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#B165DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B165DD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B165DD#FFFFFF#000000##000000
##B165DD1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E1
Deuteranopia (green-blind)
#5D88DA
Tritanopia (blue-blind)
#AC7A98
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b165dd;
/* rgb */ color: rgb(177, 101, 221);
/* oklch */ color: oklch(64.2% 0.185 311.5);
Tailwind
colors: {
  custom: {
    50: '#cb94e8',
    500: '#b165dd',
    950: '#000000',
  },
}
SCSS
$custom: #b165dd;
$custom-light: #cb94e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b165dd",
  "rgb": {
    "r": 177,
    "g": 101,
    "b": 221
  },
  "hsl": {
    "h": 278,
    "s": 63.83,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64186,
    "c": 0.18498,
    "h": 311.5
  },
  "luminance": 0.23875
}

Semantic roles & 50–950 ramp

primary
#B165DD
secondary
#C9E4B9
accent
#CC1A5B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B165DD

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

Preview Lab → · Contrast checker → · Palette generator →

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