#B268ED#B268ED

#B268ED is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.7% C 0.198 H 307.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B268ED
RGBrgb(178, 104, 237)
HSLhsl(273, 79%, 67%)
HSVhsv(273, 56%, 93%)
CMYKcmyk(24.9%, 56.1%, 0%, 7.1%)
CIE-LABlab(57.54, 53.26, -55.90)
CIE-LCHlch(57.54, 77.21, 313.62°)
OKLaboklab(65.65% 0.1207 -0.1573)
OKLCHoklch(65.65% 0.198 307.5)
XYZxyz(38.5934, 25.4805, 82.9895)
Luminance0.2548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268ED #A3ED68
analogous
#7068ED #B268ED #ED68E6
triadic
#B268ED #EDB268 #68EDB2
tetradic
#B268ED #ED7068 #A3ED68 #68E6ED
square
#B268ED #ED7068 #A3ED68 #68E6ED
split-complementary
#B268ED #E6ED68 #68ED70
monochromatic
#7717C3 #9631E6 #B268ED #CE9FF4 #EAD5FA

Accessibility & contrast

On white

3.44
#B268ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#B268ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B268ED
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B268ED#FFFFFF#000000##000000
##B268ED1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F1
Deuteranopia (green-blind)
#548BEA
Tritanopia (blue-blind)
#A981A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b268ed;
/* rgb */ color: rgb(178, 104, 237);
/* oklch */ color: oklch(65.7% 0.198 307.5);
Tailwind
colors: {
  custom: {
    50: '#cc96f3',
    500: '#b268ed',
    950: '#000000',
  },
}
SCSS
$custom: #b268ed;
$custom-light: #cc96f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b268ed",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 237
  },
  "hsl": {
    "h": 273.383,
    "s": 78.698,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65654,
    "c": 0.19831,
    "h": 307.5
  },
  "luminance": 0.2548
}

Semantic roles & 50–950 ramp

primary
#B268ED
secondary
#D6EEC3
accent
#DB0B67
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B268ED

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

Preview Lab → · Contrast checker → · Palette generator →

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