#B268FE#B268FE

#B268FE is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.7% C 0.217 H 303.8°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B268FE
RGBrgb(178, 104, 254)
HSLhsl(270, 99%, 70%)
HSVhsv(270, 59%, 100%)
CMYKcmyk(29.9%, 59.1%, 0%, 0.4%)
CIE-LABlab(58.53, 57.15, -63.74)
CIE-LCHlch(58.53, 85.61, 311.88°)
OKLaboklab(66.69% 0.1208 -0.1803)
OKLCHoklch(66.69% 0.217 303.8)
XYZxyz(41.1958, 26.5215, 96.6956)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268FE #B4FE68
analogous
#6869FE #B268FE #FD68FE
triadic
#B268FE #FEB268 #68FEB2
tetradic
#B268FE #FE6869 #B4FE68 #68FEFD
square
#B268FE #FE6869 #B4FE68 #68FEFD
split-complementary
#B268FE #FEFD68 #69FE68
monochromatic
#7402EA #932BFE #B268FE #D1A5FE #EFE1FF

Accessibility & contrast

On white

3.33
#B268FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#B268FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B268FE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B268FE#FFFFFF#000000##000000
##B268FE1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A8BFF
Deuteranopia (green-blind)
#438DFB
Tritanopia (blue-blind)
#A486A9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b268fe;
/* rgb */ color: rgb(178, 104, 254);
/* oklch */ color: oklch(66.7% 0.217 303.8);
Tailwind
colors: {
  custom: {
    50: '#cd96ff',
    500: '#b268fe',
    950: '#000000',
  },
}
SCSS
$custom: #b268fe;
$custom-light: #cd96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b268fe",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 254
  },
  "hsl": {
    "h": 269.6,
    "s": 98.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66693,
    "c": 0.21704,
    "h": 303.8
  },
  "luminance": 0.26521
}

Semantic roles & 50–950 ramp

primary
#B268FE
secondary
#E1F6CC
accent
#E60074
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B268FE

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

Preview Lab → · Contrast checker → · Palette generator →

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