#B267EB#B267EB

#B267EB is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.4% C 0.198 H 308.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B267EB
RGBrgb(178, 103, 235)
HSLhsl(274, 77%, 66%)
HSVhsv(274, 56%, 92%)
CMYKcmyk(24.3%, 56.2%, 0%, 7.8%)
CIE-LABlab(57.24, 53.33, -55.27)
CIE-LCHlch(57.24, 76.80, 313.98°)
OKLaboklab(65.39% 0.1219 -0.1555)
OKLCHoklch(65.39% 0.198 308.1)
XYZxyz(38.2027, 25.1642, 81.4258)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B267EB #A0EB67
analogous
#7067EB #B267EB #EB67E2
triadic
#B267EB #EBB267 #67EBB2
tetradic
#B267EB #EB7067 #A0EB67 #67E2EB
square
#B267EB #EB7067 #A0EB67 #67E2EB
split-complementary
#B267EB #E2EB67 #67EB70
monochromatic
#7719BF #9731E4 #B267EB #CD9DF2 #E9D3F9

Accessibility & contrast

On white

3.48
#B267EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#B267EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B267EB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B267EB#FFFFFF#000000##000000
##B267EB1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EF
Deuteranopia (green-blind)
#558AE8
Tritanopia (blue-blind)
#AA7F9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b267eb;
/* rgb */ color: rgb(178, 103, 235);
/* oklch */ color: oklch(65.4% 0.198 308.1);
Tailwind
colors: {
  custom: {
    50: '#cc95f2',
    500: '#b267eb',
    950: '#000000',
  },
}
SCSS
$custom: #b267eb;
$custom-light: #cc95f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b267eb",
  "rgb": {
    "r": 178,
    "g": 103,
    "b": 235
  },
  "hsl": {
    "h": 274.091,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65393,
    "c": 0.19759,
    "h": 308.1
  },
  "luminance": 0.25164
}

Semantic roles & 50–950 ramp

primary
#B267EB
secondary
#D4ECC1
accent
#D90D65
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B267EB

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

Preview Lab → · Contrast checker → · Palette generator →

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