#B268FD#B268FD

#B268FD is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.6% C 0.216 H 304.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B268FD
RGBrgb(178, 104, 253)
HSLhsl(270, 97%, 70%)
HSVhsv(270, 59%, 99%)
CMYKcmyk(29.6%, 58.9%, 0%, 0.8%)
CIE-LABlab(58.47, 56.92, -63.29)
CIE-LCHlch(58.47, 85.12, 311.97°)
OKLaboklab(66.63% 0.1208 -0.179)
OKLCHoklch(66.63% 0.216 304)
XYZxyz(41.0361, 26.4576, 95.8544)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268FD #B3FD68
analogous
#6868FD #B268FD #FD68FD
triadic
#B268FD #FDB268 #68FDB2
tetradic
#B268FD #FD6868 #B3FD68 #68FDFD
square
#B268FD #FD6868 #B3FD68 #68FDFD
split-complementary
#B268FD #FDFD68 #68FD68
monochromatic
#7503E8 #932CFC #B268FD #D1A4FE #F0E1FF

Accessibility & contrast

On white

3.34
#B268FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#B268FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B268FD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B268FD#FFFFFF#000000##000000
##B268FD1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D8BFF
Deuteranopia (green-blind)
#458DFA
Tritanopia (blue-blind)
#A486A9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b268fd;
/* rgb */ color: rgb(178, 104, 253);
/* oklch */ color: oklch(66.6% 0.216 304.0);
Tailwind
colors: {
  custom: {
    50: '#cd96ff',
    500: '#b268fd',
    950: '#000000',
  },
}
SCSS
$custom: #b268fd;
$custom-light: #cd96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b268fd",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 253
  },
  "hsl": {
    "h": 269.799,
    "s": 97.386,
    "l": 70
  },
  "oklch": {
    "l": 0.66631,
    "c": 0.21594,
    "h": 304
  },
  "luminance": 0.26457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B268FD

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

Preview Lab → · Contrast checker → · Palette generator →

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