#B165CD#B165CD

#B165CD is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.3% C 0.168 H 316.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B165CD
RGBrgb(177, 101, 205)
HSLhsl(284, 51%, 60%)
HSVhsv(284, 51%, 80%)
CMYKcmyk(13.7%, 50.7%, 0%, 19.6%)
CIE-LABlab(55.14, 47.62, -41.70)
CIE-LCHlch(55.14, 63.30, 318.80°)
OKLaboklab(63.31% 0.1212 -0.1159)
OKLCHoklch(63.31% 0.168 316.3)
XYZxyz(33.8029, 23.0633, 60.4168)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B165CD #81CD65
analogous
#7D65CD #B165CD #CD65B5
triadic
#B165CD #CDB165 #65CDB1
tetradic
#B165CD #CD7D65 #81CD65 #65B5CD
square
#B165CD #CD7D65 #81CD65 #65B5CD
split-complementary
#B165CD #B5CD65 #65CD7D
monochromatic
#712D8B #973CB9 #B165CD #C893DC #E0C1EB

Accessibility & contrast

On white

3.74
#B165CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#B165CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B165CD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B165CD#FFFFFF#000000##000000
##B165CD1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FD1
Deuteranopia (green-blind)
#6786CA
Tritanopia (blue-blind)
#B07590
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b165cd;
/* rgb */ color: rgb(177, 101, 205);
/* oklch */ color: oklch(63.3% 0.168 316.3);
Tailwind
colors: {
  custom: {
    50: '#ca93dc',
    500: '#b165cd',
    950: '#000000',
  },
}
SCSS
$custom: #b165cd;
$custom-light: #ca93dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b165cd",
  "rgb": {
    "r": 177,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 283.846,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.63309,
    "c": 0.16775,
    "h": 316.3
  },
  "luminance": 0.23062
}

Semantic roles & 50–950 ramp

primary
#B165CD
secondary
#BEDBB3
accent
#DA4D73
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B165CD

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

Preview Lab → · Contrast checker → · Palette generator →

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