#B268FC#B268FC

#B268FC is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.6% C 0.215 H 304.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B268FC
RGBrgb(178, 104, 252)
HSLhsl(270, 96%, 70%)
HSVhsv(270, 59%, 99%)
CMYKcmyk(29.4%, 58.7%, 0%, 1.2%)
CIE-LABlab(58.41, 56.68, -62.83)
CIE-LCHlch(58.41, 84.62, 312.06°)
OKLaboklab(66.57% 0.1208 -0.1777)
OKLCHoklch(66.57% 0.215 304.2)
XYZxyz(40.8772, 26.3940, 95.0176)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268FC #B2FC68
analogous
#6868FC #B268FC #FC68FC
triadic
#B268FC #FCB268 #68FCB2
tetradic
#B268FC #FC6868 #B2FC68 #68FCFC
square
#B268FC #FC6868 #B2FC68 #68FCFC
split-complementary
#B268FC #FCFC68 #68FC68
monochromatic
#7505E5 #932CFB #B268FC #D1A4FD #EFE0FE

Accessibility & contrast

On white

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

On black

6.28
#B268FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B268FC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B268FC#FFFFFF#000000##000000
##B268FC1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#208BFF
Deuteranopia (green-blind)
#468CF9
Tritanopia (blue-blind)
#A586A8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b268fc;
/* rgb */ color: rgb(178, 104, 252);
/* oklch */ color: oklch(66.6% 0.215 304.2);
Tailwind
colors: {
  custom: {
    50: '#cd96fe',
    500: '#b268fc',
    950: '#000000',
  },
}
SCSS
$custom: #b268fc;
$custom-light: #cd96fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b268fc",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 252
  },
  "hsl": {
    "h": 270,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66568,
    "c": 0.21484,
    "h": 304.2
  },
  "luminance": 0.26394
}

Semantic roles & 50–950 ramp

primary
#B268FC
secondary
#E0F5CB
accent
#E60073
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B268FC

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

Preview Lab → · Contrast checker → · Palette generator →

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