#B165DB#B165DB

#B165DB is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.1% C 0.183 H 312.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B165DB
RGBrgb(177, 101, 219)
HSLhsl(279, 62%, 63%)
HSVhsv(279, 54%, 86%)
CMYKcmyk(19.2%, 53.9%, 0%, 14.1%)
CIE-LABlab(55.86, 50.59, -48.49)
CIE-LCHlch(55.86, 70.08, 316.21°)
OKLaboklab(64.07% 0.1225 -0.1357)
OKLCHoklch(64.07% 0.183 312.1)
XYZxyz(35.5691, 23.7698, 69.7184)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B165DB #8FDB65
analogous
#7665DB #B165DB #DB65CA
triadic
#B165DB #DBB165 #65DBB1
tetradic
#B165DB #DB7665 #8FDB65 #65CADB
square
#B165DB #DB7665 #8FDB65 #65CADB
split-complementary
#B165DB #CADB65 #65DB76
monochromatic
#7425A0 #9833CF #B165DB #CA97E7 #E3C8F2

Accessibility & contrast

On white

3.65
#B165DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#B165DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B165DB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B165DB#FFFFFF#000000##000000
##B165DB1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582DF
Deuteranopia (green-blind)
#5E88D8
Tritanopia (blue-blind)
#AD7997
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b165db;
/* rgb */ color: rgb(177, 101, 219);
/* oklch */ color: oklch(64.1% 0.183 312.1);
Tailwind
colors: {
  custom: {
    50: '#cb94e7',
    500: '#b165db',
    950: '#000000',
  },
}
SCSS
$custom: #b165db;
$custom-light: #cb94e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b165db",
  "rgb": {
    "r": 177,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 278.644,
    "s": 62.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64073,
    "c": 0.18281,
    "h": 312.1
  },
  "luminance": 0.23769
}

Semantic roles & 50–950 ramp

primary
#B165DB
secondary
#C8E3B9
accent
#CA1C5A
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B165DB

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

Preview Lab → · Contrast checker → · Palette generator →

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