#B262CF#B262CF

#B262CF is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.1% C 0.175 H 316.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B262CF
RGBrgb(178, 98, 207)
HSLhsl(284, 53%, 60%)
HSVhsv(284, 53%, 81%)
CMYKcmyk(14%, 52.7%, 0%, 18.8%)
CIE-LABlab(54.77, 49.86, -43.41)
CIE-LCHlch(54.77, 66.11, 318.96°)
OKLaboklab(63.1% 0.1267 -0.1209)
OKLCHoklch(63.1% 0.175 316.3)
XYZxyz(33.9886, 22.7064, 61.6118)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B262CF #7FCF62
analogous
#7C62CF #B262CF #CF62B5
triadic
#B262CF #CFB262 #62CFB2
tetradic
#B262CF #CF7C62 #7FCF62 #62B5CF
square
#B262CF #CF7C62 #7FCF62 #62B5CF
split-complementary
#B262CF #B5CF62 #62CF7C
monochromatic
#722B8C #9839BB #B262CF #C991DD #E0C0EC

Accessibility & contrast

On white

3.79
#B262CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B262CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B262CF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B262CF#FFFFFF#000000##000000
##B262CF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED3
Deuteranopia (green-blind)
#6485CC
Tritanopia (blue-blind)
#B1738F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b262cf;
/* rgb */ color: rgb(178, 98, 207);
/* oklch */ color: oklch(63.1% 0.175 316.3);
Tailwind
colors: {
  custom: {
    50: '#cb92de',
    500: '#b262cf',
    950: '#000000',
  },
}
SCSS
$custom: #b262cf;
$custom-light: #cb92de;
$custom-dark: #000000;
JSON
{
  "hex": "#b262cf",
  "rgb": {
    "r": 178,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 284.037,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63096,
    "c": 0.17512,
    "h": 316.3
  },
  "luminance": 0.22705
}

Semantic roles & 50–950 ramp

primary
#B262CF
secondary
#BDDBB1
accent
#DD4B72
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B262CF

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

Preview Lab → · Contrast checker → · Palette generator →

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