#B262DD#B262DD

#B262DD is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.9% C 0.190 H 312.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B262DD
RGBrgb(178, 98, 221)
HSLhsl(279, 64%, 63%)
HSVhsv(279, 56%, 87%)
CMYKcmyk(19.5%, 55.7%, 0%, 13.3%)
CIE-LABlab(55.50, 52.81, -50.17)
CIE-LCHlch(55.50, 72.84, 316.47°)
OKLaboklab(63.88% 0.1277 -0.1406)
OKLCHoklch(63.88% 0.19 312.3)
XYZxyz(35.7766, 23.4217, 71.0288)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262DD #8DDD62
analogous
#7462DD #B262DD #DD62CB
triadic
#B262DD #DDB262 #62DDB2
tetradic
#B262DD #DD7462 #8DDD62 #62CBDD
square
#B262DD #DD7462 #8DDD62 #62CBDD
split-complementary
#B262DD #CBDD62 #62DD74
monochromatic
#7523A2 #9930D2 #B262DD #CB94E8 #E3C7F3

Accessibility & contrast

On white

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

On black

5.68
#B262DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262DD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262DD#FFFFFF#000000##000000
##B262DD1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E81E1
Deuteranopia (green-blind)
#5B87DA
Tritanopia (blue-blind)
#AD7796
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b262dd;
/* rgb */ color: rgb(178, 98, 221);
/* oklch */ color: oklch(63.9% 0.190 312.3);
Tailwind
colors: {
  custom: {
    50: '#cc92e8',
    500: '#b262dd',
    950: '#000000',
  },
}
SCSS
$custom: #b262dd;
$custom-light: #cc92e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b262dd",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 279.024,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63875,
    "c": 0.18993,
    "h": 312.3
  },
  "luminance": 0.23421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B262DD

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

Preview Lab → · Contrast checker → · Palette generator →

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