#B165F3#B165F3

#B165F3 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.5% C 0.209 H 306.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B165F3
RGBrgb(177, 101, 243)
HSLhsl(272, 86%, 67%)
HSVhsv(272, 58%, 95%)
CMYKcmyk(27.2%, 58.4%, 0%, 4.7%)
CIE-LABlab(57.20, 55.91, -59.79)
CIE-LCHlch(57.20, 81.86, 313.08°)
OKLaboklab(65.49% 0.1232 -0.1688)
OKLCHoklch(65.49% 0.209 306.1)
XYZxyz(38.9594, 25.1259, 87.5740)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B165F3 #A7F365
analogous
#6A65F3 #B165F3 #F365EE
triadic
#B165F3 #F3B165 #65F3B1
tetradic
#B165F3 #F36A65 #A7F365 #65EEF3
square
#B165F3 #F36A65 #A7F365 #65EEF3
split-complementary
#B165F3 #EEF365 #65F36A
monochromatic
#7510CE #942CEF #B165F3 #CE9EF7 #EBD7FC

Accessibility & contrast

On white

3.49
#B165F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#B165F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B165F3
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B165F3#FFFFFF#000000##000000
##B165F31.003.496.036.03
#FFFFFF3.491.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2787F8
Deuteranopia (green-blind)
#4A8AF0
Tritanopia (blue-blind)
#A681A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b165f3;
/* rgb */ color: rgb(177, 101, 243);
/* oklch */ color: oklch(65.5% 0.209 306.1);
Tailwind
colors: {
  custom: {
    50: '#cc94f8',
    500: '#b165f3',
    950: '#000000',
  },
}
SCSS
$custom: #b165f3;
$custom-light: #cc94f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b165f3",
  "rgb": {
    "r": 177,
    "g": 101,
    "b": 243
  },
  "hsl": {
    "h": 272.113,
    "s": 85.542,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65489,
    "c": 0.20897,
    "h": 306.1
  },
  "luminance": 0.25126
}

Semantic roles & 50–950 ramp

primary
#B165F3
secondary
#D8F0C4
accent
#E2036B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B165F3

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

Preview Lab → · Contrast checker → · Palette generator →

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