#B265DB#B265DB

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

Color values

HEX#B265DB
RGBrgb(178, 101, 219)
HSLhsl(279, 62%, 63%)
HSVhsv(279, 54%, 86%)
CMYKcmyk(18.7%, 53.9%, 0%, 14.1%)
CIE-LABlab(55.98, 50.85, -48.30)
CIE-LCHlch(55.98, 70.13, 316.47°)
OKLaboklab(64.19% 0.1237 -0.1351)
OKLCHoklch(64.19% 0.183 312.5)
XYZxyz(35.7977, 23.8877, 69.7291)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B265DB #8EDB65
analogous
#7765DB #B265DB #DB65C9
triadic
#B265DB #DBB265 #65DBB2
tetradic
#B265DB #DB7765 #8EDB65 #65C9DB
square
#B265DB #DB7765 #8EDB65 #65C9DB
split-complementary
#B265DB #C9DB65 #65DB77
monochromatic
#7625A0 #9933CF #B265DB #CB97E7 #E4C8F2

Accessibility & contrast

On white

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

On black

5.78
#B265DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B265DB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B265DB#FFFFFF#000000##000000
##B265DB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582DF
Deuteranopia (green-blind)
#5F88D8
Tritanopia (blue-blind)
#AE7997
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b265db;
/* rgb */ color: rgb(178, 101, 219);
/* oklch */ color: oklch(64.2% 0.183 312.5);
Tailwind
colors: {
  custom: {
    50: '#cc94e7',
    500: '#b265db',
    950: '#000000',
  },
}
SCSS
$custom: #b265db;
$custom-light: #cc94e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b265db",
  "rgb": {
    "r": 178,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 279.153,
    "s": 62.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64186,
    "c": 0.18319,
    "h": 312.5
  },
  "luminance": 0.23887
}

Semantic roles & 50–950 ramp

primary
#B265DB
secondary
#C7E3B9
accent
#CA1C58
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B265DB

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

Preview Lab → · Contrast checker → · Palette generator →

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