#B268F4#B268F4

#B268F4 is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.1% C 0.206 H 305.9°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B268F4
RGBrgb(178, 104, 244)
HSLhsl(272, 86%, 68%)
HSVhsv(272, 57%, 96%)
CMYKcmyk(27%, 57.4%, 0%, 4.3%)
CIE-LABlab(57.94, 54.85, -59.15)
CIE-LCHlch(57.94, 80.67, 312.84°)
OKLaboklab(66.07% 0.1208 -0.1669)
OKLCHoklch(66.07% 0.206 305.9)
XYZxyz(39.6361, 25.8976, 88.4811)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268F4 #AAF468
analogous
#6C68F4 #B268F4 #F468F0
triadic
#B268F4 #F4B268 #68F4B2
tetradic
#B268F4 #F46C68 #AAF468 #68F0F4
square
#B268F4 #F46C68 #AAF468 #68F0F4
split-complementary
#B268F4 #F0F468 #68F46C
monochromatic
#760FD2 #952FF0 #B268F4 #CFA1F8 #ECDAFC

Accessibility & contrast

On white

3.40
#B268F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#B268F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B268F4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B268F4#FFFFFF#000000##000000
##B268F41.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F89F9
Deuteranopia (green-blind)
#4E8CF1
Tritanopia (blue-blind)
#A783A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b268f4;
/* rgb */ color: rgb(178, 104, 244);
/* oklch */ color: oklch(66.1% 0.206 305.9);
Tailwind
colors: {
  custom: {
    50: '#cd96f8',
    500: '#b268f4',
    950: '#000000',
  },
}
SCSS
$custom: #b268f4;
$custom-light: #cd96f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b268f4",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 244
  },
  "hsl": {
    "h": 271.714,
    "s": 86.42,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66074,
    "c": 0.20603,
    "h": 305.9
  },
  "luminance": 0.25897
}

Semantic roles & 50–950 ramp

primary
#B268F4
secondary
#DBF1C7
accent
#E3036C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B268F4

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

Preview Lab → · Contrast checker → · Palette generator →

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