#B865FA#B865FA

#B865FA is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.7% C 0.218 H 307.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B865FA
RGBrgb(184, 101, 250)
HSLhsl(273, 94%, 69%)
HSVhsv(273, 60%, 98%)
CMYKcmyk(26.4%, 59.6%, 0%, 2%)
CIE-LABlab(58.42, 59.09, -61.68)
CIE-LCHlch(58.42, 85.42, 313.77°)
OKLaboklab(66.69% 0.1318 -0.1741)
OKLCHoklch(66.69% 0.218 307.1)
XYZxyz(41.6726, 26.4003, 93.3244)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B865FA #A7FA65
analogous
#6E65FA #B865FA #FA65F1
triadic
#B865FA #FAB865 #65FAB8
tetradic
#B865FA #FA6E65 #A7FA65 #65F1FA
square
#B865FA #FA6E65 #A7FA65 #65F1FA
split-complementary
#B865FA #F1FA65 #65FA6E
monochromatic
#7F07DD #9D2AF8 #B865FA #D3A0FC #EFDCFE

Accessibility & contrast

On white

3.34
#B865FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#B865FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B865FA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B865FA#FFFFFF#000000##000000
##B865FA1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2089FF
Deuteranopia (green-blind)
#4B8DF7
Tritanopia (blue-blind)
#AE82A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b865fa;
/* rgb */ color: rgb(184, 101, 250);
/* oklch */ color: oklch(66.7% 0.218 307.1);
Tailwind
colors: {
  custom: {
    50: '#d195fd',
    500: '#b865fa',
    950: '#000000',
  },
}
SCSS
$custom: #b865fa;
$custom-light: #d195fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b865fa",
  "rgb": {
    "r": 184,
    "g": 101,
    "b": 250
  },
  "hsl": {
    "h": 273.423,
    "s": 93.711,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66685,
    "c": 0.21839,
    "h": 307.1
  },
  "luminance": 0.264
}

Semantic roles & 50–950 ramp

primary
#B865FA
secondary
#DBF3C7
accent
#E60066
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B865FA

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

Preview Lab → · Contrast checker → · Palette generator →

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