#B268DD#B268DD

#B268DD is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.7% C 0.181 H 311.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B268DD
RGBrgb(178, 104, 221)
HSLhsl(278, 63%, 64%)
HSVhsv(278, 53%, 87%)
CMYKcmyk(19.5%, 52.9%, 0%, 13.3%)
CIE-LABlab(56.67, 49.73, -48.32)
CIE-LCHlch(56.67, 69.34, 315.82°)
OKLaboklab(64.73% 0.1199 -0.1352)
OKLCHoklch(64.73% 0.181 311.6)
XYZxyz(36.3592, 24.5868, 71.2230)
Luminance0.2459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268DD #93DD68
analogous
#7768DD #B268DD #DD68CD
triadic
#B268DD #DDB268 #68DDB2
tetradic
#B268DD #DD7768 #93DD68 #68CDDD
square
#B268DD #DD7768 #93DD68 #68CDDD
split-complementary
#B268DD #CDDD68 #68DD77
monochromatic
#7625A5 #9936D2 #B268DD #CB9AE8 #E5CCF3

Accessibility & contrast

On white

3.55
#B268DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#B268DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B268DD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B268DD#FFFFFF#000000##000000
##B268DD1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4884E1
Deuteranopia (green-blind)
#6089DA
Tritanopia (blue-blind)
#AD7C99
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b268dd;
/* rgb */ color: rgb(178, 104, 221);
/* oklch */ color: oklch(64.7% 0.181 311.6);
Tailwind
colors: {
  custom: {
    50: '#cc96e8',
    500: '#b268dd',
    950: '#000000',
  },
}
SCSS
$custom: #b268dd;
$custom-light: #cc96e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b268dd",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 221
  },
  "hsl": {
    "h": 277.949,
    "s": 63.243,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64733,
    "c": 0.1807,
    "h": 311.6
  },
  "luminance": 0.24586
}

Semantic roles & 50–950 ramp

primary
#B268DD
secondary
#CBE5BC
accent
#CB1A5B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B268DD

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

Preview Lab → · Contrast checker → · Palette generator →

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