#B262DF#B262DF

#B262DF is a light, vivid violet. Relative luminance 0.235; OKLCH L 64.0% C 0.192 H 311.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B262DF
RGBrgb(178, 98, 223)
HSLhsl(278, 66%, 63%)
HSVhsv(278, 56%, 87%)
CMYKcmyk(20.2%, 56.1%, 0%, 12.5%)
CIE-LABlab(55.61, 53.24, -51.13)
CIE-LCHlch(55.61, 73.81, 316.16°)
OKLaboklab(63.99% 0.1278 -0.1434)
OKLCHoklch(63.99% 0.192 311.7)
XYZxyz(36.0447, 23.5289, 72.4405)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262DF #8FDF62
analogous
#7362DF #B262DF #DF62CE
triadic
#B262DF #DFB262 #62DFB2
tetradic
#B262DF #DF7362 #8FDF62 #62CEDF
square
#B262DF #DF7362 #8FDF62 #62CEDF
split-complementary
#B262DF #CEDF62 #62DF73
monochromatic
#7622A5 #992FD5 #B262DF #CB95E9 #E4C8F4

Accessibility & contrast

On white

3.68
#B262DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B262DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262DF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262DF#FFFFFF#000000##000000
##B262DF1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C81E3
Deuteranopia (green-blind)
#5987DC
Tritanopia (blue-blind)
#AD7897
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b262df;
/* rgb */ color: rgb(178, 98, 223);
/* oklch */ color: oklch(64.0% 0.192 311.7);
Tailwind
colors: {
  custom: {
    50: '#cc92e9',
    500: '#b262df',
    950: '#000000',
  },
}
SCSS
$custom: #b262df;
$custom-light: #cc92e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b262df",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 278.4,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6399,
    "c": 0.19205,
    "h": 311.7
  },
  "luminance": 0.23528
}

Semantic roles & 50–950 ramp

primary
#B262DF
secondary
#C8E5B8
accent
#CE1759
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B262DF

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

Preview Lab → · Contrast checker → · Palette generator →

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