#B165EA#B165EA

#B165EA is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.9% C 0.199 H 308.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B165EA
RGBrgb(177, 101, 234)
HSLhsl(274, 76%, 66%)
HSVhsv(274, 57%, 92%)
CMYKcmyk(24.4%, 56.8%, 0%, 8.2%)
CIE-LABlab(56.68, 53.88, -55.60)
CIE-LCHlch(56.68, 77.43, 314.10°)
OKLaboklab(64.94% 0.1231 -0.1565)
OKLCHoklch(64.94% 0.199 308.2)
XYZxyz(37.6335, 24.5955, 80.5908)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B165EA #9EEA65
analogous
#6E65EA #B165EA #EA65E0
triadic
#B165EA #EAB165 #65EAB1
tetradic
#B165EA #EA6E65 #9EEA65 #65E0EA
square
#B165EA #EA6E65 #9EEA65 #65E0EA
split-complementary
#B165EA #E0EA65 #65EA6E
monochromatic
#761ABB #962FE3 #B165EA #CC9BF1 #E8D1F9

Accessibility & contrast

On white

3.55
#B165EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#B165EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B165EA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B165EA#FFFFFF#000000##000000
##B165EA1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3585EE
Deuteranopia (green-blind)
#5389E7
Tritanopia (blue-blind)
#A97E9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b165ea;
/* rgb */ color: rgb(177, 101, 234);
/* oklch */ color: oklch(64.9% 0.199 308.2);
Tailwind
colors: {
  custom: {
    50: '#cc94f1',
    500: '#b165ea',
    950: '#000000',
  },
}
SCSS
$custom: #b165ea;
$custom-light: #cc94f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b165ea",
  "rgb": {
    "r": 177,
    "g": 101,
    "b": 234
  },
  "hsl": {
    "h": 274.286,
    "s": 76,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64943,
    "c": 0.19914,
    "h": 308.2
  },
  "luminance": 0.24595
}

Semantic roles & 50–950 ramp

primary
#B165EA
secondary
#D2ECBF
accent
#D80D64
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B165EA

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

Preview Lab → · Contrast checker → · Palette generator →

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