#B265DC#B265DC

#B265DC is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.2% C 0.184 H 312.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B265DC
RGBrgb(178, 101, 220)
HSLhsl(279, 63%, 63%)
HSVhsv(279, 54%, 86%)
CMYKcmyk(19.1%, 54.1%, 0%, 13.7%)
CIE-LABlab(56.03, 51.06, -48.78)
CIE-LCHlch(56.03, 70.61, 316.31°)
OKLaboklab(64.24% 0.1238 -0.1365)
OKLCHoklch(64.24% 0.184 312.2)
XYZxyz(35.9298, 23.9405, 70.4245)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B265DC #8FDC65
analogous
#7765DC #B265DC #DC65CA
triadic
#B265DC #DCB265 #65DCB2
tetradic
#B265DC #DC7765 #8FDC65 #65CADC
square
#B265DC #DC7765 #8FDC65 #65CADC
split-complementary
#B265DC #CADC65 #65DC77
monochromatic
#7625A2 #9933D1 #B265DC #CB97E7 #E4C9F3

Accessibility & contrast

On white

3.63
#B265DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#B265DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B265DC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B265DC#FFFFFF#000000##000000
##B265DC1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482E0
Deuteranopia (green-blind)
#5E88D9
Tritanopia (blue-blind)
#AE7997
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b265dc;
/* rgb */ color: rgb(178, 101, 220);
/* oklch */ color: oklch(64.2% 0.184 312.2);
Tailwind
colors: {
  custom: {
    50: '#cc94e7',
    500: '#b265dc',
    950: '#000000',
  },
}
SCSS
$custom: #b265dc;
$custom-light: #cc94e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b265dc",
  "rgb": {
    "r": 178,
    "g": 101,
    "b": 220
  },
  "hsl": {
    "h": 278.824,
    "s": 62.963,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64242,
    "c": 0.18427,
    "h": 312.2
  },
  "luminance": 0.2394
}

Semantic roles & 50–950 ramp

primary
#B265DC
secondary
#C8E4B9
accent
#CB1B59
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B265DC

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

Preview Lab → · Contrast checker → · Palette generator →

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