#B165FA#B165FA

#B165FA is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 65.9% C 0.217 H 304.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B165FA
RGBrgb(177, 101, 250)
HSLhsl(271, 94%, 69%)
HSVhsv(271, 60%, 98%)
CMYKcmyk(29.2%, 59.6%, 0%, 2%)
CIE-LABlab(57.61, 57.51, -63.01)
CIE-LCHlch(57.61, 85.31, 312.39°)
OKLaboklab(65.93% 0.1231 -0.1782)
OKLCHoklch(65.93% 0.217 304.6)
XYZxyz(40.0367, 25.5568, 93.2477)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B165FA #AEFA65
analogous
#6765FA #B165FA #FA65F9
triadic
#B165FA #FAB165 #65FAB1
tetradic
#B165FA #FA6765 #AEFA65 #65F9FA
square
#B165FA #FA6765 #AEFA65 #65F9FA
split-complementary
#B165FA #F9FA65 #65FA67
monochromatic
#7407DD #932AF8 #B165FA #CFA0FC #EDDCFE

Accessibility & contrast

On white

3.44
#B165FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#B165FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B165FA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B165FA#FFFFFF#000000##000000
##B165FA1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1688FF
Deuteranopia (green-blind)
#438AF7
Tritanopia (blue-blind)
#A483A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b165fa;
/* rgb */ color: rgb(177, 101, 250);
/* oklch */ color: oklch(65.9% 0.217 304.6);
Tailwind
colors: {
  custom: {
    50: '#cc94fd',
    500: '#b165fa',
    950: '#000000',
  },
}
SCSS
$custom: #b165fa;
$custom-light: #cc94fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b165fa",
  "rgb": {
    "r": 177,
    "g": 101,
    "b": 250
  },
  "hsl": {
    "h": 270.604,
    "s": 93.711,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65925,
    "c": 0.2166,
    "h": 304.6
  },
  "luminance": 0.25557
}

Semantic roles & 50–950 ramp

primary
#B165FA
secondary
#DDF3C7
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B165FA

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

Preview Lab → · Contrast checker → · Palette generator →

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