#B268FF#B268FF

#B268FF is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 66.8% C 0.218 H 303.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#B268FF
RGBrgb(178, 104, 255)
HSLhsl(269, 100%, 70%)
HSVhsv(269, 59%, 100%)
CMYKcmyk(30.2%, 59.2%, 0%, 0%)
CIE-LABlab(58.59, 57.38, -64.20)
CIE-LCHlch(58.59, 86.10, 311.79°)
OKLaboklab(66.76% 0.1208 -0.1817)
OKLCHoklch(66.76% 0.218 303.6)
XYZxyz(41.3563, 26.5857, 97.5412)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268FF #B5FF68
analogous
#6869FF #B268FF #FE68FF
triadic
#B268FF #FFB268 #68FFB2
tetradic
#B268FF #FF6869 #B5FF68 #68FFFE
square
#B268FF #FF6869 #B5FF68 #68FFFE
split-complementary
#B268FF #FFFE68 #69FF68
monochromatic
#7400ED #932BFF #B268FF #D1A5FF #EFE0FF

Accessibility & contrast

On white

3.32
#B268FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#B268FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B268FF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B268FF#FFFFFF#000000##000000
##B268FF1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#178BFF
Deuteranopia (green-blind)
#428DFC
Tritanopia (blue-blind)
#A487AA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b268ff;
/* rgb */ color: rgb(178, 104, 255);
/* oklch */ color: oklch(66.8% 0.218 303.6);
Tailwind
colors: {
  custom: {
    50: '#cd96ff',
    500: '#b268ff',
    950: '#000000',
  },
}
SCSS
$custom: #b268ff;
$custom-light: #cd96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b268ff",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 255
  },
  "hsl": {
    "h": 269.404,
    "s": 100,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66757,
    "c": 0.21815,
    "h": 303.6
  },
  "luminance": 0.26586
}

Semantic roles & 50–950 ramp

primary
#B268FF
secondary
#E2F6CD
accent
#E60075
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B268FF

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

Preview Lab → · Contrast checker → · Palette generator →

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