#B268F5#B268F5

#B268F5 is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.1% C 0.207 H 305.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B268F5
RGBrgb(178, 104, 245)
HSLhsl(271, 88%, 68%)
HSVhsv(271, 58%, 96%)
CMYKcmyk(27.3%, 57.6%, 0%, 3.9%)
CIE-LABlab(58.00, 55.08, -59.62)
CIE-LCHlch(58.00, 81.16, 312.73°)
OKLaboklab(66.14% 0.1208 -0.1682)
OKLCHoklch(66.14% 0.207 305.7)
XYZxyz(39.7883, 25.9585, 89.2829)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268F5 #ABF568
analogous
#6B68F5 #B268F5 #F568F2
triadic
#B268F5 #F5B268 #68F5B2
tetradic
#B268F5 #F56B68 #ABF568 #68F2F5
square
#B268F5 #F56B68 #ABF568 #68F2F5
split-complementary
#B268F5 #F2F568 #68F56B
monochromatic
#760ED5 #952FF1 #B268F5 #CFA1F9 #EDDBFD

Accessibility & contrast

On white

3.39
#B268F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#B268F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B268F5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B268F5#FFFFFF#000000##000000
##B268F51.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D89FA
Deuteranopia (green-blind)
#4D8CF2
Tritanopia (blue-blind)
#A783A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b268f5;
/* rgb */ color: rgb(178, 104, 245);
/* oklch */ color: oklch(66.1% 0.207 305.7);
Tailwind
colors: {
  custom: {
    50: '#cd96f9',
    500: '#b268f5',
    950: '#000000',
  },
}
SCSS
$custom: #b268f5;
$custom-light: #cd96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b268f5",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 245
  },
  "hsl": {
    "h": 271.489,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66135,
    "c": 0.20713,
    "h": 305.7
  },
  "luminance": 0.25958
}

Semantic roles & 50–950 ramp

primary
#B268F5
secondary
#DBF2C7
accent
#E4016D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B268F5

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

Preview Lab → · Contrast checker → · Palette generator →

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