#B165EB#B165EB

#B165EB is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.0% C 0.200 H 308.0°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B165EB
RGBrgb(177, 101, 235)
HSLhsl(274, 77%, 66%)
HSVhsv(274, 57%, 92%)
CMYKcmyk(24.7%, 57%, 0%, 7.8%)
CIE-LABlab(56.74, 54.11, -56.07)
CIE-LCHlch(56.74, 77.92, 313.98°)
OKLaboklab(65% 0.1232 -0.1579)
OKLCHoklch(65% 0.2 308)
XYZxyz(37.7775, 24.6531, 81.3496)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B165EB #9FEB65
analogous
#6E65EB #B165EB #EB65E2
triadic
#B165EB #EBB165 #65EBB1
tetradic
#B165EB #EB6E65 #9FEB65 #65E2EB
square
#B165EB #EB6E65 #9FEB65 #65E2EB
split-complementary
#B165EB #E2EB65 #65EB6E
monochromatic
#7619BD #962FE4 #B165EB #CC9BF2 #E8D1F9

Accessibility & contrast

On white

3.54
#B165EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#B165EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B165EB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B165EB#FFFFFF#000000##000000
##B165EB1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EF
Deuteranopia (green-blind)
#5289E8
Tritanopia (blue-blind)
#A87E9F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b165eb;
/* rgb */ color: rgb(177, 101, 235);
/* oklch */ color: oklch(65.0% 0.200 308.0);
Tailwind
colors: {
  custom: {
    50: '#cc94f2',
    500: '#b165eb',
    950: '#000000',
  },
}
SCSS
$custom: #b165eb;
$custom-light: #cc94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b165eb",
  "rgb": {
    "r": 177,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 274.03,
    "s": 77.011,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65002,
    "c": 0.20023,
    "h": 308
  },
  "luminance": 0.24653
}

Semantic roles & 50–950 ramp

primary
#B165EB
secondary
#D3ECC0
accent
#D90C65
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B165EB

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

Preview Lab → · Contrast checker → · Palette generator →

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