#B268FA#B268FA

#B268FA is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.4% C 0.213 H 304.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B268FA
RGBrgb(178, 104, 250)
HSLhsl(270, 94%, 69%)
HSVhsv(270, 58%, 98%)
CMYKcmyk(28.8%, 58.4%, 0%, 2%)
CIE-LABlab(58.29, 56.22, -61.92)
CIE-LCHlch(58.29, 83.63, 312.24°)
OKLaboklab(66.44% 0.1208 -0.175)
OKLCHoklch(66.44% 0.213 304.6)
XYZxyz(40.5619, 26.2679, 93.3573)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268FA #B0FA68
analogous
#6968FA #B268FA #FA68F9
triadic
#B268FA #FAB268 #68FAB2
tetradic
#B268FA #FA6968 #B0FA68 #68F9FA
square
#B268FA #FA6968 #B0FA68 #68F9FA
split-complementary
#B268FA #F9FA68 #68FA69
monochromatic
#7507E0 #942DF8 #B268FA #D0A3FC #EEDEFE

Accessibility & contrast

On white

3.36
#B268FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#B268FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B268FA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B268FA#FFFFFF#000000##000000
##B268FA1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#248AFF
Deuteranopia (green-blind)
#488CF7
Tritanopia (blue-blind)
#A585A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b268fa;
/* rgb */ color: rgb(178, 104, 250);
/* oklch */ color: oklch(66.4% 0.213 304.6);
Tailwind
colors: {
  custom: {
    50: '#cd96fd',
    500: '#b268fa',
    950: '#000000',
  },
}
SCSS
$custom: #b268fa;
$custom-light: #cd96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b268fa",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 250
  },
  "hsl": {
    "h": 270.411,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66443,
    "c": 0.21264,
    "h": 304.6
  },
  "luminance": 0.26268
}

Semantic roles & 50–950 ramp

primary
#B268FA
secondary
#DFF4CA
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B268FA

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

Preview Lab → · Contrast checker → · Palette generator →

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