#B265F6#B265F6

#B265F6 is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.8% C 0.212 H 305.8°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B265F6
RGBrgb(178, 101, 246)
HSLhsl(272, 89%, 68%)
HSVhsv(272, 59%, 96%)
CMYKcmyk(27.6%, 58.9%, 0%, 3.5%)
CIE-LABlab(57.49, 56.82, -60.99)
CIE-LCHlch(57.49, 83.35, 312.98°)
OKLaboklab(65.78% 0.1244 -0.1722)
OKLCHoklch(65.78% 0.212 305.8)
XYZxyz(39.6448, 25.4265, 89.9902)
Luminance0.2543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B265F6 #A9F665
analogous
#6965F6 #B265F6 #F665F2
triadic
#B265F6 #F6B265 #65F6B2
tetradic
#B265F6 #F66965 #A9F665 #65F2F6
square
#B265F6 #F66965 #A9F665 #65F2F6
split-complementary
#B265F6 #F2F665 #65F669
monochromatic
#760CD4 #952BF3 #B265F6 #CF9FF9 #ECD9FD

Accessibility & contrast

On white

3.45
#B265F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#B265F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B265F6
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B265F6#FFFFFF#000000##000000
##B265F61.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2288FB
Deuteranopia (green-blind)
#488AF3
Tritanopia (blue-blind)
#A782A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b265f6;
/* rgb */ color: rgb(178, 101, 246);
/* oklch */ color: oklch(65.8% 0.212 305.8);
Tailwind
colors: {
  custom: {
    50: '#cd94fa',
    500: '#b265f6',
    950: '#000000',
  },
}
SCSS
$custom: #b265f6;
$custom-light: #cd94fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b265f6",
  "rgb": {
    "r": 178,
    "g": 101,
    "b": 246
  },
  "hsl": {
    "h": 271.862,
    "s": 88.957,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65783,
    "c": 0.21249,
    "h": 305.8
  },
  "luminance": 0.25426
}

Semantic roles & 50–950 ramp

primary
#B265F6
secondary
#DAF2C5
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B265F6

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

Preview Lab → · Contrast checker → · Palette generator →

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