#B260E2#B260E2

#B260E2 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.9% C 0.198 H 311.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B260E2
RGBrgb(178, 96, 226)
HSLhsl(278, 69%, 63%)
HSVhsv(278, 58%, 89%)
CMYKcmyk(21.2%, 57.5%, 0%, 11.4%)
CIE-LABlab(55.40, 54.89, -53.15)
CIE-LCHlch(55.40, 76.40, 315.92°)
OKLaboklab(63.89% 0.1304 -0.1493)
OKLCHoklch(63.89% 0.198 311.1)
XYZxyz(36.2679, 23.3225, 74.5279)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B260E2 #90E260
analogous
#7160E2 #B260E2 #E260D1
triadic
#B260E2 #E2B260 #60E2B2
tetradic
#B260E2 #E27160 #90E260 #60D1E2
square
#B260E2 #E27160 #90E260 #60D1E2
split-complementary
#B260E2 #D1E260 #60E271
monochromatic
#761FA9 #992CD9 #B260E2 #CB94EB #E4C8F5

Accessibility & contrast

On white

3.71
#B260E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B260E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B260E2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B260E2#FFFFFF#000000##000000
##B260E21.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3581E6
Deuteranopia (green-blind)
#5586DF
Tritanopia (blue-blind)
#AC7898
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b260e2;
/* rgb */ color: rgb(178, 96, 226);
/* oklch */ color: oklch(63.9% 0.198 311.1);
Tailwind
colors: {
  custom: {
    50: '#cc91ec',
    500: '#b260e2',
    950: '#000000',
  },
}
SCSS
$custom: #b260e2;
$custom-light: #cc91ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b260e2",
  "rgb": {
    "r": 178,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 277.846,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6389,
    "c": 0.19823,
    "h": 311.1
  },
  "luminance": 0.23322
}

Semantic roles & 50–950 ramp

primary
#B260E2
secondary
#C9E6B8
accent
#D1145A
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B260E2

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

Preview Lab → · Contrast checker → · Palette generator →

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