#B262DE#B262DE

#B262DE is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.9% C 0.191 H 312.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B262DE
RGBrgb(178, 98, 222)
HSLhsl(279, 65%, 63%)
HSVhsv(279, 56%, 87%)
CMYKcmyk(19.8%, 55.9%, 0%, 12.9%)
CIE-LABlab(55.56, 53.02, -50.65)
CIE-LCHlch(55.56, 73.33, 316.31°)
OKLaboklab(63.93% 0.1278 -0.142)
OKLCHoklch(63.93% 0.191 312)
XYZxyz(35.9102, 23.4751, 71.7325)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262DE #8EDE62
analogous
#7462DE #B262DE #DE62CC
triadic
#B262DE #DEB262 #62DEB2
tetradic
#B262DE #DE7462 #8EDE62 #62CCDE
square
#B262DE #DE7462 #8EDE62 #62CCDE
split-complementary
#B262DE #CCDE62 #62DE74
monochromatic
#7622A3 #992FD3 #B262DE #CB95E9 #E4C7F3

Accessibility & contrast

On white

3.69
#B262DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#B262DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262DE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262DE#FFFFFF#000000##000000
##B262DE1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D81E2
Deuteranopia (green-blind)
#5A87DB
Tritanopia (blue-blind)
#AD7897
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b262de;
/* rgb */ color: rgb(178, 98, 222);
/* oklch */ color: oklch(63.9% 0.191 312.0);
Tailwind
colors: {
  custom: {
    50: '#cc92e9',
    500: '#b262de',
    950: '#000000',
  },
}
SCSS
$custom: #b262de;
$custom-light: #cc92e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b262de",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 278.71,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63932,
    "c": 0.19099,
    "h": 312
  },
  "luminance": 0.23474
}

Semantic roles & 50–950 ramp

primary
#B262DE
secondary
#C7E4B7
accent
#CD1859
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B262DE

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

Preview Lab → · Contrast checker → · Palette generator →

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