#B262CA#B262CA

#B262CA is a light, vivid purple. Relative luminance 0.225; OKLCH L 62.8% C 0.170 H 318.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B262CA
RGBrgb(178, 98, 202)
HSLhsl(286, 50%, 59%)
HSVhsv(286, 51%, 79%)
CMYKcmyk(11.9%, 51.5%, 0%, 20.8%)
CIE-LABlab(54.52, 48.83, -40.96)
CIE-LCHlch(54.52, 63.73, 320.01°)
OKLaboklab(62.83% 0.1262 -0.1138)
OKLCHoklch(62.83% 0.17 318)
XYZxyz(33.3870, 22.4658, 58.4433)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262CA #7ACA62
analogous
#7E62CA #B262CA #CA62AE
triadic
#B262CA #CAB262 #62CAB2
tetradic
#B262CA #CA7E62 #7ACA62 #62AECA
square
#B262CA #CA7E62 #7ACA62 #62AECA
split-complementary
#B262CA #AECA62 #62CA7E
monochromatic
#702D85 #973CB3 #B262CA #C890D9 #DFBEE9

Accessibility & contrast

On white

3.82
#B262CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#B262CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262CA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262CA#FFFFFF#000000##000000
##B262CA1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7DCD
Deuteranopia (green-blind)
#6685C7
Tritanopia (blue-blind)
#B2718D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b262ca;
/* rgb */ color: rgb(178, 98, 202);
/* oklch */ color: oklch(62.8% 0.170 318.0);
Tailwind
colors: {
  custom: {
    50: '#cb91da',
    500: '#b262ca',
    950: '#000000',
  },
}
SCSS
$custom: #b262ca;
$custom-light: #cb91da;
$custom-dark: #000000;
JSON
{
  "hex": "#b262ca",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 286.154,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62829,
    "c": 0.16991,
    "h": 318
  },
  "luminance": 0.22465
}

Semantic roles & 50–950 ramp

primary
#B262CA
secondary
#B9D8AF
accent
#D94F6F
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B262CA

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

Preview Lab → · Contrast checker → · Palette generator →

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