#B265F8#B265F8

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

Color values

HEX#B265F8
RGBrgb(178, 101, 248)
HSLhsl(271, 91%, 68%)
HSVhsv(271, 59%, 97%)
CMYKcmyk(28.2%, 59.3%, 0%, 2.7%)
CIE-LABlab(57.61, 57.28, -61.90)
CIE-LCHlch(57.61, 84.34, 312.78°)
OKLaboklab(65.91% 0.1244 -0.1749)
OKLCHoklch(65.91% 0.215 305.4)
XYZxyz(39.9534, 25.5499, 91.6156)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B265F8 #ABF865
analogous
#6865F8 #B265F8 #F865F4
triadic
#B265F8 #F8B265 #65F8B2
tetradic
#B265F8 #F86865 #ABF865 #65F4F8
square
#B265F8 #F86865 #ABF865 #65F4F8
split-complementary
#B265F8 #F4F865 #65F868
monochromatic
#760AD9 #952AF5 #B265F8 #CFA0FB #EDDAFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B265F8#FFFFFF#000000##000000
##B265F81.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)
#1D88FD
Deuteranopia (green-blind)
#468BF5
Tritanopia (blue-blind)
#A682A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b265f8;
/* rgb */ color: rgb(178, 101, 248);
/* oklch */ color: oklch(65.9% 0.215 305.4);
Tailwind
colors: {
  custom: {
    50: '#cd94fb',
    500: '#b265f8',
    950: '#000000',
  },
}
SCSS
$custom: #b265f8;
$custom-light: #cd94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b265f8",
  "rgb": {
    "r": 178,
    "g": 101,
    "b": 248
  },
  "hsl": {
    "h": 271.429,
    "s": 91.304,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65907,
    "c": 0.21467,
    "h": 305.4
  },
  "luminance": 0.2555
}

Semantic roles & 50–950 ramp

primary
#B265F8
secondary
#DBF3C6
accent
#E6006D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B265F8

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

Preview Lab → · Contrast checker → · Palette generator →

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