#B268F8#B268F8

#B268F8 is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.3% C 0.210 H 305.0°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B268F8
RGBrgb(178, 104, 248)
HSLhsl(271, 91%, 69%)
HSVhsv(271, 58%, 97%)
CMYKcmyk(28.2%, 58.1%, 0%, 2.7%)
CIE-LABlab(58.17, 55.76, -61.00)
CIE-LCHlch(58.17, 82.65, 312.43°)
OKLaboklab(66.32% 0.1208 -0.1723)
OKLCHoklch(66.32% 0.21 305)
XYZxyz(40.2500, 26.1432, 91.7144)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268F8 #AEF868
analogous
#6A68F8 #B268F8 #F868F6
triadic
#B268F8 #F8B268 #68F8B2
tetradic
#B268F8 #F86A68 #AEF868 #68F6F8
square
#B268F8 #F86A68 #AEF868 #68F6F8
split-complementary
#B268F8 #F6F868 #68F86A
monochromatic
#760ADB #942EF5 #B268F8 #D0A2FB #EEDDFD

Accessibility & contrast

On white

3.37
#B268F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#B268F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B268F8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B268F8#FFFFFF#000000##000000
##B268F81.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#288AFD
Deuteranopia (green-blind)
#4A8CF5
Tritanopia (blue-blind)
#A684A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b268f8;
/* rgb */ color: rgb(178, 104, 248);
/* oklch */ color: oklch(66.3% 0.210 305.0);
Tailwind
colors: {
  custom: {
    50: '#cd96fb',
    500: '#b268f8',
    950: '#000000',
  },
}
SCSS
$custom: #b268f8;
$custom-light: #cd96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b268f8",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 248
  },
  "hsl": {
    "h": 270.833,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6632,
    "c": 0.21044,
    "h": 305
  },
  "luminance": 0.26143
}

Semantic roles & 50–950 ramp

primary
#B268F8
secondary
#DDF3C9
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B268F8

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

Preview Lab → · Contrast checker → · Palette generator →

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