#B265F2#B265F2

#B265F2 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.5% C 0.208 H 306.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B265F2
RGBrgb(178, 101, 242)
HSLhsl(273, 84%, 67%)
HSVhsv(273, 58%, 95%)
CMYKcmyk(26.4%, 58.3%, 0%, 5.1%)
CIE-LABlab(57.25, 55.92, -59.14)
CIE-LCHlch(57.25, 81.39, 313.39°)
OKLaboklab(65.54% 0.1245 -0.1668)
OKLCHoklch(65.54% 0.208 306.7)
XYZxyz(39.0374, 25.1835, 86.7916)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B265F2 #A5F265
analogous
#6C65F2 #B265F2 #F265EB
triadic
#B265F2 #F2B265 #65F2B2
tetradic
#B265F2 #F26C65 #A5F265 #65EBF2
square
#B265F2 #F26C65 #A5F265 #65EBF2
split-complementary
#B265F2 #EBF265 #65F26C
monochromatic
#7711CB #962DED #B265F2 #CE9DF7 #EAD6FC

Accessibility & contrast

On white

3.48
#B265F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#B265F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B265F2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B265F2#FFFFFF#000000##000000
##B265F21.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A87F7
Deuteranopia (green-blind)
#4C8AEF
Tritanopia (blue-blind)
#A880A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b265f2;
/* rgb */ color: rgb(178, 101, 242);
/* oklch */ color: oklch(65.5% 0.208 306.7);
Tailwind
colors: {
  custom: {
    50: '#cd94f7',
    500: '#b265f2',
    950: '#000000',
  },
}
SCSS
$custom: #b265f2;
$custom-light: #cd94f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b265f2",
  "rgb": {
    "r": 178,
    "g": 101,
    "b": 242
  },
  "hsl": {
    "h": 272.766,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65536,
    "c": 0.20814,
    "h": 306.7
  },
  "luminance": 0.25183
}

Semantic roles & 50–950 ramp

primary
#B265F2
secondary
#D7F0C3
accent
#E10569
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B265F2

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

Preview Lab → · Contrast checker → · Palette generator →

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