#B268F2#B268F2

#B268F2 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.0% C 0.204 H 306.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B268F2
RGBrgb(178, 104, 242)
HSLhsl(272, 84%, 68%)
HSVhsv(272, 57%, 95%)
CMYKcmyk(26.4%, 57%, 0%, 5.1%)
CIE-LABlab(57.82, 54.39, -58.23)
CIE-LCHlch(57.82, 79.68, 313.05°)
OKLaboklab(65.95% 0.1208 -0.1642)
OKLCHoklch(65.95% 0.204 306.4)
XYZxyz(39.3341, 25.7768, 86.8904)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268F2 #A8F268
analogous
#6D68F2 #B268F2 #F268ED
triadic
#B268F2 #F2B268 #68F2B2
tetradic
#B268F2 #F26D68 #A8F268 #68EDF2
square
#B268F2 #F26D68 #A8F268 #68EDF2
split-complementary
#B268F2 #EDF268 #68F26D
monochromatic
#7712CE #9530ED #B268F2 #CFA0F7 #EBD9FC

Accessibility & contrast

On white

3.41
#B268F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#B268F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B268F2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B268F2#FFFFFF#000000##000000
##B268F21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3288F6
Deuteranopia (green-blind)
#508BEF
Tritanopia (blue-blind)
#A882A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b268f2;
/* rgb */ color: rgb(178, 104, 242);
/* oklch */ color: oklch(66.0% 0.204 306.4);
Tailwind
colors: {
  custom: {
    50: '#cd96f7',
    500: '#b268f2',
    950: '#000000',
  },
}
SCSS
$custom: #b268f2;
$custom-light: #cd96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b268f2",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 272.174,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65953,
    "c": 0.20382,
    "h": 306.4
  },
  "luminance": 0.25776
}

Semantic roles & 50–950 ramp

primary
#B268F2
secondary
#D9F0C6
accent
#E1056B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B268F2

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

Preview Lab → · Contrast checker → · Palette generator →

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