#B268EE#B268EE

#B268EE is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.7% C 0.199 H 307.3°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B268EE
RGBrgb(178, 104, 238)
HSLhsl(273, 80%, 67%)
HSVhsv(273, 56%, 93%)
CMYKcmyk(25.2%, 56.3%, 0%, 6.7%)
CIE-LABlab(57.60, 53.49, -56.36)
CIE-LCHlch(57.60, 77.70, 313.50°)
OKLaboklab(65.71% 0.1207 -0.1587)
OKLCHoklch(65.71% 0.199 307.3)
XYZxyz(38.7399, 25.5391, 83.7610)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268EE #A4EE68
analogous
#6F68EE #B268EE #EE68E7
triadic
#B268EE #EEB268 #68EEB2
tetradic
#B268EE #EE6F68 #A4EE68 #68E7EE
square
#B268EE #EE6F68 #A4EE68 #68E7EE
split-complementary
#B268EE #E7EE68 #68EE6F
monochromatic
#7716C5 #9631E8 #B268EE #CE9FF4 #EAD6FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B268EE#FFFFFF#000000##000000
##B268EE1.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)
#3788F2
Deuteranopia (green-blind)
#548BEB
Tritanopia (blue-blind)
#A981A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b268ee;
/* rgb */ color: rgb(178, 104, 238);
/* oklch */ color: oklch(65.7% 0.199 307.3);
Tailwind
colors: {
  custom: {
    50: '#cc96f4',
    500: '#b268ee',
    950: '#000000',
  },
}
SCSS
$custom: #b268ee;
$custom-light: #cc96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b268ee",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 238
  },
  "hsl": {
    "h": 273.134,
    "s": 79.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65713,
    "c": 0.19942,
    "h": 307.3
  },
  "luminance": 0.25539
}

Semantic roles & 50–950 ramp

primary
#B268EE
secondary
#D7EEC4
accent
#DC0968
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B268EE

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

Preview Lab → · Contrast checker → · Palette generator →

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