#B260EC#B260EC

#B260EC is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.5% C 0.209 H 308.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B260EC
RGBrgb(178, 96, 236)
HSLhsl(275, 79%, 65%)
HSVhsv(275, 59%, 93%)
CMYKcmyk(24.6%, 59.3%, 0%, 7.5%)
CIE-LABlab(55.97, 57.07, -57.84)
CIE-LCHlch(55.97, 81.26, 314.61°)
OKLaboklab(64.49% 0.1305 -0.163)
OKLCHoklch(64.49% 0.209 308.7)
XYZxyz(37.6803, 23.8874, 81.9664)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B260EC #9AEC60
analogous
#6C60EC #B260EC #EC60E0
triadic
#B260EC #ECB260 #60ECB2
tetradic
#B260EC #EC6C60 #9AEC60 #60E0EC
square
#B260EC #EC6C60 #9AEC60 #60E0EC
split-complementary
#B260EC #E0EC60 #60EC6C
monochromatic
#7716BB #9829E5 #B260EC #CC97F3 #E7CDF9

Accessibility & contrast

On white

3.63
#B260EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#B260EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B260EC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B260EC#FFFFFF#000000##000000
##B260EC1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2683F0
Deuteranopia (green-blind)
#4C87E9
Tritanopia (blue-blind)
#AA7B9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b260ec;
/* rgb */ color: rgb(178, 96, 236);
/* oklch */ color: oklch(64.5% 0.209 308.7);
Tailwind
colors: {
  custom: {
    50: '#cd91f3',
    500: '#b260ec',
    950: '#000000',
  },
}
SCSS
$custom: #b260ec;
$custom-light: #cd91f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b260ec",
  "rgb": {
    "r": 178,
    "g": 96,
    "b": 236
  },
  "hsl": {
    "h": 275.143,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64491,
    "c": 0.20882,
    "h": 308.7
  },
  "luminance": 0.23887
}

Semantic roles & 50–950 ramp

primary
#B260EC
secondary
#D0ECBC
accent
#DB0B61
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B260EC

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

Preview Lab → · Contrast checker → · Palette generator →

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